Whenever Terraform requests module data from that hostname, it will authenticate with that token. This setting is a repeatable block, where the block label is a hostname (either or the hostname of your private install) and the block body contains a token attribute. This is only necessary when running Terraform on the command line runs managed by Terraform Enterprise can access private modules automatically. Plugin_cache_dir - enables plugin caching and specifies, as a string, the location of the plugin cache directory.Ĭredentials - provides credentials for use with Terraform Enterprise's private module registry. The following settings can be set in the CLI configuration file:ĭisable_checkpoint - when set to true, disables upgrade and security bulletin checks that require reaching out to HashiCorp-provided network services.ĭisable_checkpoint_signature - when set to true, allows the upgrade and security bulletin checks described above but disables the use of an anonymous id used to de-duplicate warning messages. ![]() The following example illustrates the general syntax see the following section for information on the meaning of each of these settings: plugin_cache_dir = "$HOME/.terraform.d/plugin-cache" tf files, but with different attributes and blocks. The configuration file uses the same HCL syntax as. Use dir from PowerShell or Command Prompt to confirm the filename. Terraform will not recognize a file named terraform.rc.txt as a CLI configuration file, even though Windows Explorer may display its name as just terraform.rc. On Windows, beware of Windows Explorer's default behavior of hiding filename extensions. terraformrc (note the leading period) and placed directly in the home directory of the relevant user. I ran the following to install a version that works under my M1 Macbook (version 1.3.3 in this case): brew uninstall terraform brew install tfenv TFENVARCHamd64 tfenv install 1.3.3 tfenv use 1.3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |