Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
tkerdoncuff committed Jan 25, 2024
1 parent 2145270 commit 673ff81
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ This module creates the following resources in AWS:
- 2 or more private subnets in different AZ
- an internet gateway
- route tables
- a NAT gateway in each public subnet

In addition, if NAT gateway is enabled:
In addition, if NAT gateways are not provided an EIP allocation id:

- an Elastic IP (optional)
- a NAT gateway in one of the public subnets
- an Elastic IP for each such NAT gateway

## Usage example

Expand Down Expand Up @@ -59,10 +59,11 @@ module "network" {
}
}
nat_gateway = {
name = "quortex"
subnet_key = "pub-eu-west-1b"
quortex = {
subnet_key = "pub-eu-west-1b"
eip_allocation_id = "" # set an existing EIP's id, or an empty string to create a new EIP
}
}
nat_eip_allocation_id = "" # set an existing EIP's id, or an empty string to create a new EIP
}
```
Expand Down

0 comments on commit 673ff81

Please sign in to comment.