User Tools

Site Tools


using_terraform

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
using_terraform [2017/08/05 11:24] walkeradminusing_terraform [2017/08/05 11:47] – [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:
 </file> </file>
 \\  \\ 
 +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.
 +\\ 
 +\\ 
 +{{ :terraformaws_003.jpg?600 |}}
 +\\ 
 +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