aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-subnet/variables.tf
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-03-24 14:13:32 +0100
committerPeter Mikus <pmikus@cisco.com>2022-03-25 08:17:41 +0000
commit0deec65be1ef39f37090f2b5b851eb4b34c116f9 (patch)
tree409feeeb125116ba60f0eea3f9c872f98e9e23ea /fdio.infra.terraform/terraform-aws-subnet/variables.tf
parentc5181ae1627fed20b79a829bf2330f3ee9d8a0f6 (diff)
feat(terraform): AWS Subnet
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I11d10c4c734354f112a7b6bf4a8f3c0febfc0862
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-subnet/variables.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-subnet/variables.tf45
1 files changed, 45 insertions, 0 deletions
diff --git a/fdio.infra.terraform/terraform-aws-subnet/variables.tf b/fdio.infra.terraform/terraform-aws-subnet/variables.tf
new file mode 100644
index 0000000000..cae74bae78
--- /dev/null
+++ b/fdio.infra.terraform/terraform-aws-subnet/variables.tf
@@ -0,0 +1,45 @@
+variable "tags_name" {
+ description = "Name used for tag."
+ type = string
+ default = ""
+}
+
+variable "tags_environment" {
+ description = "Environment used for tag."
+ type = string
+ default = ""
+}
+
+# Variables for Subnet
+variable "subnet_assign_ipv6_address_on_creation" {
+ description = "Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address."
+ type = bool
+ default = false
+}
+
+variable "subnet_availability_zone" {
+ description = "AZ for the subnet."
+ type = string
+ default = "us-east-1a"
+}
+
+variable "subnet_cidr_block" {
+ description = "The IPv4 CIDR block for the subnet."
+ type = string
+}
+
+variable "subnet_ipv6_cidr_block" {
+ description = "The IPv6 network range for the subnet, in CIDR notation."
+ type = string
+}
+
+variable "subnet_map_public_ip_on_launch" {
+ description = "Specify true to indicate that instances launched into the subnet should be assigned a public IP address."
+ type = bool
+ default = false
+}
+
+variable "subnet_vpc_id" {
+ description = "The VPC ID."
+ type = string
+}