Difference between revisions of "Terraform plan -refresh-only"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* <code>[[provider.tf]]</code> | * <code>[[provider.tf]]</code> | ||
* [[Object has changed outside terraform]] | * [[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 == | == See also == |
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: