diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-12-15 11:18:19 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2024-01-18 09:02:16 +0000 |
commit | 4ef4d31db9aaa76fd67e1c9a7a05df43dc8b067a (patch) | |
tree | 3f4ad5ba1d257d16990263f78b37f9dfd3d800b1 /fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf | |
parent | 25bb104313dd7e0bc19805d196f9f5f2037a7890 (diff) |
feat(terraform): Migrate C-DASH to M7g.2xlarge
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: Idc39227487a89b7e637c8e2193be27fae088322d
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf')
-rw-r--r-- | fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf index 2b0abd8929..9f115cd6c6 100644 --- a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf +++ b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf @@ -11,8 +11,8 @@ module "elastic_beanstalk_application" { source = "../terraform-aws-elastic-beanstalk-application" # application - application_description = "FD.io CDASH" - application_name = "fdio-csit-dash-app" + application_description = "FD.io CDASH M7G" + application_name = "fdio-csit-dash-app-m7g" appversion_lifecycle_service_role_arn = "arn:aws:iam::407116685360:role/aws-service-role/elasticbeanstalk.amazonaws.com/AWSServiceRoleForElasticBeanstalk" appversion_lifecycle_max_count = 10 appversion_lifecycle_delete_source_from_s3 = false @@ -21,6 +21,9 @@ module "elastic_beanstalk_application" { module "elastic_beanstalk_environment" { source = "../terraform-aws-elastic-beanstalk-environment" + # environment + application_name = "fdio-csit-dash-app-m7g" + # vpc vpc_cidr_block = "10.0.0.0/16" vpc_enable_dns_hostnames = true @@ -28,22 +31,22 @@ module "elastic_beanstalk_environment" { vpc_instance_tenancy = "default" # subnet - subnet_a_availability_zone = "eu-central-1a" + subnet_a_availability_zone = "eu-north-1a" subnet_a_cidr_block = "10.0.0.0/20" - subnet_b_availability_zone = "eu-central-1b" + subnet_b_availability_zone = "eu-north-1b" subnet_b_cidr_block = "10.0.16.0/20" # environment environment_application = module.elastic_beanstalk_application.application_name environment_description = module.elastic_beanstalk_application.application_description - environment_name = "fdio-csit-dash-env" - environment_solution_stack_name = "64bit Amazon Linux 2023 v4.0.3 running Python 3.11" + environment_name = "fdio-csit-dash-env-m7g" + environment_solution_stack_name = "64bit Amazon Linux 2023 v4.0.6 running Python 3.11" environment_tier = "WebServer" environment_wait_for_ready_timeout = "25m" environment_version_label = "" # aws:ec2:instances - instances_instance_types = "t3a.2xlarge" + instances_instance_types = "m7g.2xlarge" # aws:ec2:vpc associate_public_ip_address = true @@ -54,7 +57,7 @@ module "elastic_beanstalk_environment" { # aws:elasticbeanstalk:environment environment_loadbalancer_type = "application" - environment_loadbalancer_ssl_certificate_id = "arn:aws:acm:eu-central-1:407116685360:certificate/737ad419-36f1-460d-919a-9110b0aac26a" + environment_loadbalancer_ssl_certificate_id = "arn:aws:acm:eu-north-1:407116685360:certificate/3ef3c6ae-f1d4-49f0-a8cd-5d090991bf73" # aws:elasticbeanstalk:environment:process:default environment_process_default_healthcheck_interval = 10 |