aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-01-17 13:37:45 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-01-18 13:54:36 +0000
commite31069553a47428fa4ec1920fe6519bba8a876d2 (patch)
treec133db37a13cbc7aea29c3b7393e20eb39c44fa4 /fdio.infra.terraform/terraform-aws-fdio-csit-dash-env
parente0eb07f2ec67405abf621bcbe845598de92a0803 (diff)
feat(dash): SSL certificate
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iccab2214a62d5d928d989e8e0dcb927b8ae3390f
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.tf5
-rw-r--r--fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/variables.tf2
-rw-r--r--fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/versions.tf6
3 files changed, 7 insertions, 6 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 62fed9d461..0fad2d99b0 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
@@ -34,7 +34,7 @@ module "elastic_beanstalk_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 2 v3.4.2 running Python 3.8"
+ environment_solution_stack_name = "64bit Amazon Linux 2 v3.4.3 running Python 3.8"
environment_tier = "WebServer"
environment_wait_for_ready_timeout = "25m"
environment_version_label = ""
@@ -50,7 +50,8 @@ module "elastic_beanstalk_environment" {
default_listener_enabled = true
# aws:elasticbeanstalk:environment
- environment_loadbalancer_type = "network"
+ environment_loadbalancer_type = "classic"
+ environment_loadbalancer_ssl_certificate_id = "arn:aws:acm:eu-central-1:407116685360:certificate/737ad419-36f1-460d-919a-9110b0aac26a"
# aws:elasticbeanstalk:environment:process:default
environment_process_default_healthcheck_interval = 10
diff --git a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/variables.tf b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/variables.tf
index a18b043d00..a107571bb6 100644
--- a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/variables.tf
+++ b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/variables.tf
@@ -7,7 +7,7 @@ variable "region" {
variable "vault_provider_address" {
description = "Vault cluster address."
type = string
- default = "http://10.30.51.24:8200"
+ default = "http://vault.service.consul:8200"
}
variable "vault_provider_skip_tls_verify" {
diff --git a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/versions.tf b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/versions.tf
index 714382330a..cce47fa776 100644
--- a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/versions.tf
+++ b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/versions.tf
@@ -1,6 +1,6 @@
terraform {
backend "consul" {
- address = "consul.service.consul:8500"
+ address = "10.30.51.21:8500"
scheme = "http"
path = "terraform/dash"
}
@@ -10,8 +10,8 @@ terraform {
version = ">= 4.3.0"
}
vault = {
- version = ">= 3.2.1"
+ version = ">= 3.12.0"
}
}
- required_version = ">= 1.1.4"
+ required_version = ">= 1.3.7"
}