Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 37ebaa7

Browse files
author
Mike McGirr
committed
Small update for the subnets module
1 parent 4bc7723 commit 37ebaa7

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

modules/subnets/main.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ resource "aws_subnet" "main" {
1818
"Name" = "${var.name_prefix}-${format("%02d", count.index + 1)}-${element(var.azs, count.index)}"
1919
},
2020
var.extra_tags,
21-
)
21+
)
2222
map_public_ip_on_launch = var.public
2323
}
24+

modules/subnets/variables.tf

-18
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,3 @@ variable "public" {
3030
description = "Boolean, maps to the map_public_ip_on_launch variable"
3131
type = bool
3232
}
33-
34-
variable "assign_ipv6_address_on_creation" {
35-
description = "Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. Default is false"
36-
type = bool
37-
default = false
38-
}
39-
40-
variable "vpc_ipv6_cidr_block" {
41-
description = "The possible ipv6 cidr block for the vpc"
42-
type = string
43-
default = ""
44-
}
45-
46-
# variable "ipv6_cidr_blocks" {
47-
# description = "The optional ipv6 cidr blocks for the subnet"
48-
# type = list(string)
49-
# default = []
50-
# }

0 commit comments

Comments
 (0)