Skip to content

Removes nested list argument. #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aws_codedeploy_deployment_group" "default" {
enabled = "${var.auto_rollback_enabled}"

# The event type or types that trigger a rollback. Supported types are DEPLOYMENT_FAILURE and DEPLOYMENT_STOP_ON_ALARM.
events = ["${var.auto_rollback_events}"]
events = "${var.auto_rollback_events}"
}

# You can configure options for a blue/green deployment.
Expand Down Expand Up @@ -79,7 +79,7 @@ resource "aws_codedeploy_deployment_group" "default" {
target_group_pair_info {
# The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
prod_traffic_route {
listener_arns = ["${var.lb_listener_arns}"]
listener_arns = "${var.lb_listener_arns}"
}

# One pair of target groups. One is associated with the original task set.
Expand All @@ -95,7 +95,7 @@ resource "aws_codedeploy_deployment_group" "default" {
# An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
# Validation can happen while test traffic is served during a deployment.
test_traffic_route {
listener_arns = ["${var.test_traffic_route_listener_arns}"]
listener_arns = "${var.test_traffic_route_listener_arns}"
}
}
}
Expand Down