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