Skip to content

Conversation

@TonyOvoRoss
Copy link

This PR adds an option to the module to enable CloudWatch Container Insights on the ECS cluster. This was required to provide additional metrics at cluster, task and service levels

ecs.tf Outdated
# use cloudwatch container insights if containerInsights is enabled
container_insights_setting = {
name = "containerInsights"
value = var.containerInsights

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value should be "enabled" or "disabled" from looking at the docs, maybe a little ternary here is in order?

var.containerInsights ? "enabled" : "disabled"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good spot - I'll change it

@tom-sherman
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants