using_terraform
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
using_terraform [2017/08/05 11:24] – walkeradmin | using_terraform [2017/08/05 11:48] – [Terraform Apply] walkeradmin | ||
---|---|---|---|
Line 8: | Line 8: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
==== Terraform Plan ==== | ==== Terraform Plan ==== | ||
+ | \\ | ||
+ | \\ | ||
The terraform plan command is used to create an execution plan. Terraform performs a refresh, unless explicitly disabled, and then determines what actions are necessary to achieve the desired state specified in the configuration files. The plan can be saved using -out, and then provided to terraform apply to ensure only the pre-planned actions are executed. | The terraform plan command is used to create an execution plan. Terraform performs a refresh, unless explicitly disabled, and then determines what actions are necessary to achieve the desired state specified in the configuration files. The plan can be saved using -out, and then provided to terraform apply to ensure only the pre-planned actions are executed. | ||
\\ | \\ | ||
Line 66: | Line 71: | ||
</ | </ | ||
\\ | \\ | ||
+ | This is the type of output you will get if your script file does not contain any errors. | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | ==== Terraform Apply ==== | ||
+ | \\ | ||
+ | \\ | ||
+ | Before starting the Terraform apply option, I suggest you log in to your AWS account so that you can monitor the progress of the script. | ||
+ | \\ | ||
+ | \\ | ||
+ | Here is my AWS account with no configured EC2 Instances. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | In the above example we can see that there is nothing configured on this AWS account. There is a default security group, but this can not be deleted, a new security group will be configured with our Terraform Script, so this should change from a (1) to a (2). | ||
+ | \\ | ||
+ | \\ | ||
+ |
using_terraform.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1