X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.terraform%2Fterraform-aws-elastic-beanstalk-environment%2Fvariables.tf;h=b0c41899b7ad91624be73ca4ee236e47f2e1a11b;hp=c2a1ea3cf7bf3d71b27b3ceae49181d1f3b89cd8;hb=d24fe3f719a8c0c084544a794fae1d00fd3aa05c;hpb=6cc6259b97d3a67072aeb65ee9fd7704af2eb013 diff --git a/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/variables.tf b/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/variables.tf index c2a1ea3cf7..b0c41899b7 100644 --- a/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/variables.tf +++ b/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/variables.tf @@ -163,6 +163,39 @@ variable "environment_process_default_unhealthy_threshold_count" { default = 3 } +# aws:autoscaling:updatepolicy:rollingupdate +variable "autoscaling_updatepolicy_rolling_update_enabled" { + description = "Whether to enable rolling update." + type = bool + default = true +} + +variable "autoscaling_updatepolicy_rolling_update_type" { + description = "`Health` or `Immutable`. Set it to `Immutable` to apply the configuration change to a fresh group of instances." + type = string + default = "Immutable" +} + +variable "autoscaling_updatepolicy_min_instance_in_service" { + description = "Minimum number of instances in service during update." + type = number + default = 1 +} + +# aws:elasticbeanstalk:command +variable "command_deployment_policy" { + description = "Use the DeploymentPolicy option to set the deployment type. The following values are supported: `AllAtOnce`, `Rolling`, `RollingWithAdditionalBatch`, `Immutable`, `TrafficSplitting`." + type = string + default = "Rolling" +} + +# aws:autoscaling:updatepolicy:rollingupdate +variable "updatepolicy_max_batch_size" { + description = "Maximum number of instances to update at once." + type = number + default = 1 +} + # aws:elasticbeanstalk:healthreporting:system variable "healthreporting_system_type" { description = "Whether to enable enhanced health reporting for this environment"