aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-01-24 12:11:36 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-01-24 12:24:42 +0000
commita4ccb8a9e56e9e3b4db9dd13851f908196ee32a7 (patch)
treeda6641d3113620dacaa18b9596ad3f4e567a9714 /fdio.infra.terraform/terraform-aws-fdio-csit-dash-env
parent752538617f43672a0a9eeb93432929032cca05d3 (diff)
fix(dash): Migrate to alb
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I315d91e68ed3f626b399cf1bb237859f7cadc9ff
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-fdio-csit-dash-env')
-rw-r--r--fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf11
1 files changed, 7 insertions, 4 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 0fad2d99b0..7c4cc9dfe4 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
@@ -22,13 +22,16 @@ module "elastic_beanstalk_environment" {
source = "../terraform-aws-elastic-beanstalk-environment"
# vpc
- vpc_cidr_block = "192.168.0.0/24"
+ vpc_cidr_block = "10.0.0.0/16"
vpc_enable_dns_hostnames = true
vpc_enable_dns_support = true
vpc_instance_tenancy = "default"
# subnet
- subnet_availability_zone = "eu-central-1a"
+ subnet_a_availability_zone = "eu-central-1a"
+ subnet_a_cidr_block = "10.0.0.0/20"
+ subnet_b_availability_zone = "eu-central-1b"
+ subnet_b_cidr_block = "10.0.16.0/20"
# environment
environment_application = module.elastic_beanstalk_application.application_name
@@ -40,7 +43,7 @@ module "elastic_beanstalk_environment" {
environment_version_label = ""
# aws:ec2:instances
- instances_instance_types = "t3a.large"
+ instances_instance_types = "t3a.2xlarge"
# aws:ec2:vpc
associate_public_ip_address = true
@@ -50,7 +53,7 @@ module "elastic_beanstalk_environment" {
default_listener_enabled = true
# aws:elasticbeanstalk:environment
- environment_loadbalancer_type = "classic"
+ environment_loadbalancer_type = "application"
environment_loadbalancer_ssl_certificate_id = "arn:aws:acm:eu-central-1:407116685360:certificate/737ad419-36f1-460d-919a-9110b0aac26a"
# aws:elasticbeanstalk:environment:process:default