When applying a plan that you previously saved to a file, Terraform uses the backend configuration stored in that file instead of the current backend settings. This helps ensure Terraform is applying the plan to correct set of infrastructure. terraform/terraform.tfstate at the time the plan was created. All plan files capture the information in.terraform/terraform.tfstate file contains the backend configuration for the current working directory. Terraform writes the backend configuration in plain text in two separate files. terraform subdirectory and in plan files. If you use -backend-config or hardcode these values directly in your configuration, Terraform will include these values in both the. Warning: We recommend using environment variables to supply credentials and other sensitive data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |