Skip to content

Commit

Permalink
chore(deps): update terraform cn-terraform/ecs-fargate/aws to v2.0.49 (
Browse files Browse the repository at this point in the history
…#86)

* chore(deps): update terraform cn-terraform/ecs-fargate/aws to v2.0.49

* Add deployment circiut options

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Julian Nonino <jnonino@users.noreply.github.com>
  • Loading branch information
renovate[bot] and jnonino committed Dec 16, 2022
1 parent 0cddc87 commit 2947eff
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module "aws_cw_logs" {
#------------------------------------------------------------------------------
module "ecs_fargate" {
source = "cn-terraform/ecs-fargate/aws"
version = "2.0.48"
version = "2.0.49"
# source = "../terraform-aws-ecs-fargate"

name_prefix = "${var.name_prefix}-sonar"
Expand All @@ -57,6 +57,10 @@ module "ecs_fargate" {
mount_points = var.mount_points
permissions_boundary = var.permissions_boundary

# Deployment circuit breaker
deployment_circuit_breaker_enabled = var.deployment_circuit_breaker_enabled
deployment_circuit_breaker_rollback = var.deployment_circuit_breaker_rollback

# Application Load Balancer
custom_lb_arn = var.custom_lb_arn
lb_http_ports = var.lb_http_ports
Expand Down
12 changes: 12 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ variable "permissions_boundary" {
default = null
}

variable "deployment_circuit_breaker_enabled" {
description = "(Optional) You can enable the deployment circuit breaker to cause a service deployment to transition to a failed state if tasks are persistently failing to reach RUNNING state or are failing healthcheck."
type = bool
default = false
}

variable "deployment_circuit_breaker_rollback" {
description = "(Optional) The optional rollback option causes Amazon ECS to roll back to the last completed deployment upon a deployment failure."
type = bool
default = false
}

#------------------------------------------------------------------------------
# Sonarqube SSL settings
#------------------------------------------------------------------------------
Expand Down

0 comments on commit 2947eff

Please sign in to comment.