Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ryan Randles Jones
Terraform Openstack
Commits
49286f03
Commit
49286f03
authored
Aug 07, 2019
by
Ryan Randles Jones
Browse files
Update README.md
parent
aec7d171
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
49286f03
...
...
@@ -69,9 +69,17 @@ unzip terraform_0.12.3_linux_amd64.zip -d ~/bin
-
`$terraform plan -out $HOME/terraform-first-instance/terraform-plan.tf`
**_(Note)_**
There's a target parameter that will let you specify just one piece. Run it via plan like so:
-
`$terraform plan -out $HOME/terraform-first-instance/name-of-plan.tf -target=module.name-of-module-to-run`
You can also target multiple modules.
-
`$terraform plan -out $HOME/terraform-first-instance/name-of-plan.tf -target=module.name-of-module-to-run -target=module.name-of-other-module-to-run`
**_(Note)_**
`$terraform plan -out`
writes the plan to a file and then
`terraform apply`
runs that plan.
-
`$terraform apply "$HOME/terraform-first-instance/
terraform
-plan.tf"`
-
`$terraform apply "$HOME/terraform-first-instance/
name-of
-plan.tf"`
### Destroy Terraform Instance:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment