Difference between revisions of "Terraform apply -refresh-only"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
 +
[[terraform apply]] -refresh-only
 +
No changes. Your infrastructure still matches the configuration.
 +
 +
Terraform has checked that the real remote objects still match the result of your most recent changes, and found no differences.
 +
 +
Would you like to update the Terraform state to reflect these detected changes?
 +
  Terraform will write these changes to the state without modifying any real infrastructure.
 +
  There is no undo. Only 'yes' will be accepted to confirm.
 +
 +
  Enter a value: yes
 +
 +
 +
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
 +
 +
== Related ==
 +
* <code>[[terraform plan -refresh-only]]</code>
 +
* <code>[[terraform refresh (Deprecated)]]</code>
 +
* <code>[[terraform import]]</code>
 +
* [[State file]]
 +
* [[Configuration drift]]
 +
* <code>[[terraform state replace-provider]]</code>
 +
* <code>[[terraform apply --help]]</code>
 +
* <code>[[terraform apply -target]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:11, 16 August 2023

terraform apply -refresh-only
No changes. Your infrastructure still matches the configuration.

Terraform has checked that the real remote objects still match the result of your most recent changes, and found no differences.

Would you like to update the Terraform state to reflect these detected changes?
  Terraform will write these changes to the state without modifying any real infrastructure.
  There is no undo. Only 'yes' will be accepted to confirm.

  Enter a value: yes


Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Related[edit]

See also[edit]

Advertising: