aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-05-17 12:32:47 +0200
committerPeter Mikus <pmikus@cisco.com>2022-05-17 10:46:39 +0000
commitd24fe3f719a8c0c084544a794fae1d00fd3aa05c (patch)
tree4a36d4da45372743064366bbc71276f439806c22 /fdio.infra.terraform/terraform-aws-fdio-csit-dash-env/main.tf
parent6cc6259b97d3a67072aeb65ee9fd7704af2eb013 (diff)
fix(uti): Terraform settings
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ica539512f3129391551938541d00d9e9d1560af3
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"