Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux_wiki:terraform [2018/06/14 22:42] billdozor [Terraform] |
linux_wiki:terraform [2018/06/19 22:37] billdozor [File Contents: Root Files] |
||
---|---|---|---|
Line 176: | Line 176: | ||
}</ | }</ | ||
- | <code bash outputs.tf> | + | <code bash outputs.tf> |
# Description: | # Description: | ||
+ | # If terraform apply is run within this directory, these variables | ||
+ | # are displayed at the end of the run. | ||
# Pull the VPC ID from the site module | # Pull the VPC ID from the site module | ||
Line 510: | Line 512: | ||
<code bash outputs.tf># | <code bash outputs.tf># | ||
# Description: | # Description: | ||
+ | # Accessible via " | ||
- | # Store the VPC ID - pulled from here in main's output.tf | + | # Set output variable from resource format |
+ | # output " | ||
+ | # value = " | ||
+ | # } | ||
+ | |||
+ | # Store the VPC ID | ||
output " | output " | ||
value = " | value = " | ||
+ | } | ||
+ | |||
+ | # Store the Public Subnet ID | ||
+ | output " | ||
+ | value = " | ||
+ | } | ||
+ | |||
+ | # Store the Public Security Group ID | ||
+ | output " | ||
+ | value = " | ||
}</ | }</ | ||
---- | ---- | ||