Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-vpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-vpc
Commits
1f0e4fb9
Commit
1f0e4fb9
authored
Dec 07, 2017
by
Anton Babenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix in README
parent
5c111ad1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
1f0e4fb9
...
...
@@ -73,13 +73,13 @@ module "vpc" {
enable_nat_gateway
=
true
single_nat_gateway
=
false
external_nat_ip_ids
=
[
"${
resource.
aws_eip.nat.*.id}"
]
# <= IPs specified here as input to the module
external_nat_ip_ids
=
[
"${aws_eip.nat.*.id}"
]
# <= IPs specified here as input to the module
}
```
Note that in the example we allocate 3 IPs because we will be provisioning 3 NAT Gateways (due to
`single_nat_gateway = false`
and having 3 subnets).
If, on the other hand,
`single_nat_gateway = true`
, then
`aws_eip.nat`
would only need to allocate 1 IP.
Passing the IPs into the module is done by setting variable
`external_nat_ip_ids = ["${
resource.
aws_eip.nat.*.id}"]`
.
Passing the IPs into the module is done by setting variable
`external_nat_ip_ids = ["${aws_eip.nat.*.id}"]`
.
Terraform version
-----------------
...
...
Write
Preview
Markdown
is supported
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