aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/3n_aws_c5n/variables.tf
diff options
context:
space:
mode:
authorTomas Alexy <tomas.alexy@pantheon.tech>2021-04-01 15:44:14 +0200
committerPeter Mikus <pmikus@cisco.com>2021-04-08 07:37:15 +0000
commit8018da98e0f362bc69fc9600fac222a86fd46b5e (patch)
tree728e9e4c160aa7c8e4dcc784c1a4b30e562f49a1 /fdio.infra.terraform/3n_aws_c5n/variables.tf
parentdb7fb867bfafee8515b1baf0a77c0e683eb38e68 (diff)
Infra: AWS Update to Ubuntu 20.04
- Change AMI image to Ubuntu 20.04 - Add calibration role - Add AWS vfio-patch for kernel 5.8+ - Prepare root module's main.tf to be used with environment variables Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech> Change-Id: I7db3f28ba573a5a8a1dc07179ef78ef34ce9ebf3
Diffstat (limited to 'fdio.infra.terraform/3n_aws_c5n/variables.tf')
-rw-r--r--fdio.infra.terraform/3n_aws_c5n/variables.tf31
1 files changed, 31 insertions, 0 deletions
diff --git a/fdio.infra.terraform/3n_aws_c5n/variables.tf b/fdio.infra.terraform/3n_aws_c5n/variables.tf
new file mode 100644
index 0000000000..15e718bdb0
--- /dev/null
+++ b/fdio.infra.terraform/3n_aws_c5n/variables.tf
@@ -0,0 +1,31 @@
+variable "region" {
+ description = "AWS Region"
+ type = string
+ default = "eu-central-1"
+}
+
+variable "avail_zone" {
+ description = "AWS availability zone"
+ type = string
+ default = "eu-central-1a"
+}
+
+variable "ami_image" {
+ # eu-central-1/focal-20.04-amd64-hvm-ssd-20210119.1
+ # kernel 5.4.0-1035-aws (~5.4.0-65)
+ description = "AWS AMI image ID"
+ type = string
+ default = "ami-0a875db8a031a9efb"
+}
+
+variable "instance_type" {
+ description = "AWS instance type"
+ type = string
+ default = "c5n.4xlarge"
+}
+
+variable "testbed_name" {
+ description = "Testbed name"
+ type = string
+ default = "testbed1"
+}