feat(Terraform): AWS IPv6 support
[csit.git] / fdio.infra.terraform / 2n_aws_c5n / deploy / variables.tf
1 variable "region" {
2   description = "AWS Region"
3   type        = string
4 }
5
6 variable "vault-name" {
7   default = "dynamic-aws-creds-vault-admin"
8 }
9
10 variable "ami_image_tg" {
11   description = "AWS AMI image name for TG"
12   type        = string
13 }
14
15 variable "ami_image_sut" {
16   description = "AWS AMI image name for SUT"
17   type        = string
18 }
19
20 variable "testbed_name" {
21   description = "Testbed name"
22   type        = string
23 }
24
25 variable "instance_initiated_shutdown_behavior" {
26   description = "Shutdown behavior for the instance"
27   type        = string
28   default     = "terminate"
29 }
30
31 variable "instance_type" {
32   description = "AWS instance type"
33   type        = string
34 }
35
36 variable "avail_zone" {
37   description = "AWS availability zone"
38   type        = string
39 }
40
41 variable "topology_name" {
42   description = "Prefix used when creating a topology file"
43   type        = string
44   default     = "2n_aws_c5n"
45 }
46
47 variable "environment_name" {
48   description = "Environment name - used for Environment tag"
49   type        = string
50   default     = "CSIT-AWS"
51 }
52
53 variable "resources_name_prefix" {
54   description = "Resource prefix - used for Name tag"
55   type        = string
56   default     = "CSIT_2n_aws_c5n"
57 }
58
59 variable "first_run_commands" {
60   description = "Commands to run after deployment via remote-exec"
61   type        = list(string)
62   default     = [""]
63 }
64
65 variable "ansible_file_path" {
66   description = "Path to Ansible playbook"
67   type        = string
68   default     = "../../fdio.infra.ansible/site.yaml"
69 }
70
71 variable "ansible_python_executable" {
72   description = "Path to Python interpreter"
73   type        = string
74   default     = "/usr/bin/python3"
75 }
76
77 variable "ansible_topology_path" {
78   description = "Path to Ansible playbook which creates a topology file"
79   type        = string
80   default     = "../../fdio.infra.ansible/cloud_topology.yaml"
81 }
82
83 variable "ansible_provision_pwd" {
84   description = "Password used for ansible provisioning (ansible_ssh_pass)"
85   type        = string
86   default     = "Csit1234"
87 }
88
89 # Base VPC CIDRs
90 variable "vpc_cidr_mgmt" {
91   description = "Management CIDR block"
92   type        = string
93   default     = "192.168.0.0/24"
94 }
95
96 variable "vpc_cidr_b" {
97   description = "CIDR block B"
98   type        = string
99   default     = "192.168.10.0/24"
100 }
101
102 variable "vpc_cidr_c" {
103   description = "CIDR block C"
104   type        = string
105   default     = "200.0.0.0/24"
106 }
107
108 variable "vpc_cidr_d" {
109   description = "CIDR block D"
110   type        = string
111   default     = "192.168.20.0/24"
112 }
113
114 # Trex Dummy CIDRs
115 variable "trex_dummy_cidr_port_0" {
116   description = "TREX dummy CIDR"
117   type        = string
118   default     = "10.0.0.0/24"
119 }
120
121 variable "trex_dummy_cidr_port_1" {
122   description = "TREX dummy CIDR"
123   type        = string
124   default     = "20.0.0.0/24"
125 }
126
127 # IPs
128 variable "tg_if1_ip" {
129   description = "TG IP on interface 1"
130   type        = string
131   default     = "192.168.10.254"
132 }
133
134 variable "tg_if2_ip" {
135   description = "TG IP on interface 2"
136   type        = string
137   default     = "192.168.20.254"
138 }
139
140 variable "dut1_if1_ip" {
141   description = "DUT IP on interface 1"
142   type        = string
143   default     = "192.168.10.11"
144 }
145
146 variable "dut1_if2_ip" {
147   description = "DUT IP on interface 1"
148   type        = string
149   default     = "192.168.20.11"
150 }
151
152 variable "tg_mgmt_ip" {
153   description = "TG management interface IP"
154   type        = string
155   default     = "192.168.0.10"
156 }
157
158 variable "dut1_mgmt_ip" {
159   description = "DUT management interface IP"
160   type        = string
161   default     = "192.168.0.11"
162 }