1e883eda783504f9f8ffc7ef0d497b03054823dc
[csit.git] / fdio.infra.terraform / terraform-aws-vpc / variables.tf
1 variable "tags_name" {
2   description = "Name used for tag."
3   type        = string
4   default     = ""
5 }
6
7 variable "tags_environment" {
8   description = "Environment used for tag."
9   type        = string
10   default     = ""
11 }
12
13 # Variables for elastic beanstalk VPC
14 variable "vpc_assign_generated_ipv6_cidr_block" {
15   description = "Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC."
16   type        = bool
17   default     = true
18 }
19
20 variable "vpc_cidr_block" {
21   description = "The CIDR block for the association."
22   type        = string
23   default     = "192.168.0.0/24"
24 }
25
26 variable "vpc_enable_dns_hostnames" {
27   description = "Whether or not the VPC has DNS hostname support."
28   type        = bool
29   default     = true
30 }
31
32 variable "vpc_enable_dns_support" {
33   description = "Whether or not the VPC has DNS support."
34   type        = bool
35   default     = true
36 }
37
38 variable "vpc_instance_tenancy" {
39   description = "The allowed tenancy of instances launched into the selected VPC."
40   type        = string
41   default     = "default"
42 }
43
44 # Variables for Security Group
45 variable "security_group_description" {
46   description = "Security group description."
47   type        = string
48   default     = "Allow inbound/outbound traffic"
49 }
50
51 variable "security_group_name" {
52   description = "Name of the security group."
53   type        = string
54 }
55
56 variable "security_group_revoke_rules_on_delete" {
57   description = "Instruct Terraform to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself."
58   type        = bool
59   default     = false
60 }
61
62 variable "security_group_ingress" {
63   description = "Ingress security group map."
64   type        = list(any)
65   default = [
66     {
67       from_port        = 22
68       to_port          = 22
69       protocol         = "tcp"
70       cidr_blocks      = ["0.0.0.0/0"]
71       ipv6_cidr_blocks = ["::/0"]
72     },
73   ]
74 }
75
76 variable "security_group_egress" {
77   description = "Egress security group map."
78   type        = list(any)
79   default = [
80     {
81       from_port        = 0
82       to_port          = 0
83       protocol         = "-1"
84       cidr_blocks      = ["0.0.0.0/0"]
85       ipv6_cidr_blocks = ["::/0"]
86     },
87   ]
88 }
89
90 # Variables for elastic beanstalk Subnet
91 variable "subnet_assign_ipv6_address_on_creation" {
92   description = "Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address."
93   type        = bool
94   default     = false
95 }
96
97 variable "subnet_availability_zone" {
98   description = "AWS availability zone"
99   type        = string
100   default     = "us-east-1a"
101 }
102
103 variable "subnet_map_public_ip_on_launch" {
104   description = "Specify true to indicate that instances launched into the subnet should be assigned a public IP address."
105   type        = bool
106   default     = false
107 }