Difference between revisions of "Terraform plan -refresh-only"
Jump to navigation
Jump to search
(Created page with "{{lowercase}} * {{terraform plan}}") |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{lowercase}} | + | {{lowercase}} |
+ | [[terraform plan]] -refresh-only | ||
+ | [[random_string.suffix]]: Refreshing state... [id=342324] | ||
+ | [[Error: Error acquiring the state lock]] | ||
+ | |||
+ | [[Error: Invalid index]] | ||
+ | |||
+ | Solution: Review you have proper [[credentials]] in your [[provider configuration]] and you are using/configuring the right [[profile]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[terraform apply -refresh-only]]</code> | ||
+ | * <code>[[terraform plan -target]]</code> | ||
+ | * <code>[[provider.tf]]</code> | ||
+ | * [[Object has changed outside terraform]] | ||
+ | |||
+ | == Activities == | ||
+ | * [[True or False? The terraform plan -refresh-only command is used to create a plan whose goal is only to update the Terraform state to match any changes made to remote objects outside of Terraform.]] | ||
+ | |||
+ | == See also == | ||
* {{terraform plan}} | * {{terraform plan}} | ||
+ | |||
+ | [[Category:Terraform]] |
Latest revision as of 19:44, 5 April 2023
terraform plan -refresh-only random_string.suffix: Refreshing state... [id=342324]
Error: Error acquiring the state lock
Error: Invalid index
Solution: Review you have proper credentials in your provider configuration and you are using/configuring the right profile
Related[edit]
terraform apply -refresh-only
terraform plan -target
provider.tf
- Object has changed outside terraform
Activities[edit]
See also[edit]
Advertising: