aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf
diff options
context:
space:
mode:
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.tf15
1 files changed, 13 insertions, 2 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 3e70b4ddf8..65dc59f999 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,9 +34,9 @@ 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.3.12 running Python 3.8"
+ environment_solution_stack_name = "64bit Amazon Linux 2 v3.3.13 running Python 3.8"
environment_tier = "WebServer"
- environment_wait_for_ready_timeout = "20m"
+ environment_wait_for_ready_timeout = "25m"
environment_version_label = ""
# aws:ec2:instances
@@ -58,6 +58,17 @@ module "elastic_beanstalk_environment" {
environment_process_default_port = 5000
environment_process_default_unhealthy_threshold_count = 3
+ # aws:autoscaling:updatepolicy:rollingupdate
+ autoscaling_updatepolicy_rolling_update_enabled = true
+ autoscaling_updatepolicy_rolling_update_type = "Immutable"
+ autoscaling_updatepolicy_min_instance_in_service = 1
+
+ # aws:elasticbeanstalk:command
+ command_deployment_policy = "Rolling"
+
+ # aws:autoscaling:updatepolicy:rollingupdate
+ updatepolicy_max_batch_size = 1
+
# aws:elasticbeanstalk:healthreporting:system
healthreporting_system_type = "enhanced"