2 description = "AWS Region"
6 variable "vault-name" {
7 default = "dynamic-aws-creds-vault-fdio"
10 variable "ami_image_tg" {
11 description = "AWS AMI image name for TG"
15 variable "ami_image_sut" {
16 description = "AWS AMI image name for SUT"
20 variable "testbed_name" {
21 description = "Testbed name"
25 variable "instance_initiated_shutdown_behavior" {
26 description = "Shutdown behavior for the instance"
31 variable "instance_type" {
32 description = "AWS instance type"
36 variable "avail_zone" {
37 description = "AWS availability zone"
41 variable "topology_name" {
42 description = "Prefix used when creating a topology file"
44 default = "3n_aws_c5n"
47 variable "environment_name" {
48 description = "Environment name - used for Environment tag"
53 variable "resources_name_prefix" {
54 description = "Resource prefix - used for Name tag"
56 default = "CSIT_3n_aws_c5n"
59 variable "first_run_commands" {
60 description = "Commands to run after deployment via remote-exec"
65 variable "ansible_file_path" {
66 description = "Path to Ansible playbook"
68 default = "../../fdio.infra.ansible/site.yaml"
71 variable "ansible_python_executable" {
72 description = "Path to Python interpreter"
74 default = "/usr/bin/python3"
77 variable "ansible_topology_path" {
78 description = "Path to Ansible playbook which creates a topology file"
80 default = "../../fdio.infra.ansible/cloud_topology.yaml"
83 variable "ansible_provision_pwd" {
84 description = "Password used for ansible provisioning (ansible_ssh_pass)"
90 variable "vpc_cidr_mgmt" {
91 description = "Management CIDR block"
93 default = "192.168.0.0/24"
96 variable "vpc_cidr_b" {
97 description = "CIDR block B"
99 default = "192.168.10.0/24"
102 variable "vpc_cidr_c" {
103 description = "CIDR block C"
105 default = "200.0.0.0/24"
108 variable "vpc_cidr_d" {
109 description = "CIDR block D"
111 default = "192.168.20.0/24"
115 variable "trex_dummy_cidr_port_0" {
116 description = "TREX dummy CIDR"
118 default = "10.0.0.0/24"
121 variable "trex_dummy_cidr_port_1" {
122 description = "TREX dummy CIDR"
124 default = "20.0.0.0/24"
128 variable "tg_if1_ip" {
129 description = "TG IP on interface 1"
131 default = "192.168.10.254"
134 variable "tg_if2_ip" {
135 description = "TG IP on interface 2"
137 default = "192.168.20.254"
140 variable "dut1_if1_ip" {
141 description = "DUT IP on interface 1"
143 default = "192.168.10.11"
146 variable "dut1_if2_ip" {
147 description = "DUT IP on interface 2"
149 default = "200.0.0.101"
152 variable "dut2_if1_ip" {
153 description = "DUT2 IP on interface 1"
155 default = "200.0.0.102"
158 variable "dut2_if2_ip" {
159 description = "DUT2 IP on interface 2"
161 default = "192.168.20.11"
164 variable "tg_mgmt_ip" {
165 description = "TG management interface IP"
167 default = "192.168.0.10"
170 variable "dut1_mgmt_ip" {
171 description = "DUT1 management interface IP"
173 default = "192.168.0.11"
176 variable "dut2_mgmt_ip" {
177 description = "DUT2 management interface IP"
179 default = "192.168.0.12"