Difference between revisions of "Terraform apply"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
* <code>[[terraform apply (ec2 instance)]]</code>  
 
* <code>[[terraform apply (ec2 instance)]]</code>  
  
== With errors ==
+
== [[Terraform apply examples with errors]] ==
 
 
[[Error: Unsupported argument]]
 
 
 
terraform apply
 
 
│ Error: No configuration files
 
 
│ Apply requires configuration to be present. Applying without a configuration would mark
 
│ everything for destruction, which is normally not what is desired. If you would like to
 
│ destroy everything, run '[[terraform destroy]]' instead.
 
 
 
 
terraform apply
 
 
│ Error: Missing required argument
 
 
│ The argument "region" is required, but was not set.
 
 
 
 
 
 
<pre>
 
An execution plan has been generated and is shown below.
 
Resource actions are indicated with the following symbols:
 
 
 
Terraform will perform the following actions:
 
 
 
Plan: 0 to add, 0 to change, 0 to destroy.
 
 
 
Do you want to perform these actions?
 
  Terraform will perform the actions described above.
 
  Only 'yes' will be accepted to approve.
 
 
 
  Enter a value: yes
 
 
 
 
 
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
 
 
 
Outputs:
 
 
 
text = hello world
 
</pre>
 
  
 
== Related commands ==
 
== Related commands ==

Revision as of 08:56, 2 September 2021

Examples

Terraform apply examples with errors

Related commands

See also

Advertising: