From 673ff813ffd7be28f55326f5405132b364953a3f Mon Sep 17 00:00:00 2001 From: TanguyK Date: Thu, 25 Jan 2024 10:53:27 +0100 Subject: [PATCH] s --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2da955f..32b33d4 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 } ```