Editing Terraform apply
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | [[terraform]] apply | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | * <code>[[terraform apply (ec2 instance)]]</code> | |
− | * <code>[[terraform apply | ||
− | |||
− | + | == With errors == | |
+ | 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. | ||
+ | ╵ | ||
− | == Related | + | terraform apply |
− | * <code>[[terraform | + | ╷ |
− | * <code> | + | │ 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 == | ||
+ | * <code>[[terraform apply]] [[-var]] ‘myvar=football’</code> | ||
+ | * <code>[[variables.tf]]</code> | ||
* <code>[[terraform init]]</code> | * <code>[[terraform init]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{ | + | * {{terraform cmd}} |
− | * {{terraform | + | * {{terraform}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: