Difference between revisions of "Terraform plan -target"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  terraform plan -target=module.db_aurora
 
  terraform plan -target=module.db_aurora
 +
 +
.../...
 +
Plan: 1 to add, 0 to change, 0 to destroy.
 +
 +
│ Warning: Resource targeting is in effect
 +
 +
│ You are creating a plan with the -target option, which means that the result of this plan may not represent all of the changes requested
 +
by
 +
│ the current configuration.
 +
 +
│ The -target option is not for routine use, and is provided only for exceptional situations such as recovering from errors or mistakes,
 +
or
 +
│ when Terraform specifically suggests to use it as part of an error message.
 +
 +
  
 
== See also ==
 
== See also ==

Revision as of 17:14, 7 June 2022

terraform plan -target=module.db_aurora
.../...
Plan: 1 to add, 0 to change, 0 to destroy.
╷
│ Warning: Resource targeting is in effect
│
│ You are creating a plan with the -target option, which means that the result of this plan may not represent all of the changes requested 
by
│ the current configuration.
│
│ The -target option is not for routine use, and is provided only for exceptional situations such as recovering from errors or mistakes, 
or
│ when Terraform specifically suggests to use it as part of an error message.
╵


See also

Advertising: