File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ locals {
1616}
1717
1818data "aws_eip" "nat_ips" {
19- count = local. enabled ? length (var. existing_nat_ips ) : 0
20- public_ip = element (var. existing_nat_ips , count. index )
19+ count = local. enabled ? length (var. nat_elastic_ips ) : 0
20+ public_ip = element (var. nat_elastic_ips , count. index )
2121}
2222
2323locals {
24- use_existing_eips = length (var. existing_nat_ips ) > 0
24+ use_existing_eips = length (var. nat_elastic_ips ) > 0
2525 map_map = {
2626 short = " to_short"
2727 fixed = " to_fixed"
Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ variable "nat_instance_type" {
7777 default = " t3.micro"
7878}
7979
80- variable "existing_nat_ips " {
80+ variable "nat_elastic_ips " {
8181 type = list (string )
8282 default = []
83- description = " Existing Elastic IPs to attach to the NAT Gateway or Instance instead of creating a new one ."
83+ description = " Existing Elastic IPs to attach to the NAT Gateway(s) or Instance(s) instead of creating new ones ."
8484}
8585
8686variable "map_public_ip_on_launch" {
You can’t perform that action at this time.
0 commit comments