Skip to content

Conversation

@przemyslaw-elias
Copy link

@betabandido Can you please take a look?

We need to set some more params on aws_cloudwatch_metric_alarm.

Copy link
Member

@betabandido betabandido left a comment

Choose a reason for hiding this comment

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

Thanks for this PR. And sorry for the late response. I have added a comment with a small change request.


variable "default_datapoints_to_alarm" {
description = "The default amount of datapoints to alarm."
default = 2
Copy link
Member

Choose a reason for hiding this comment

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

While true is the default value for actions_enabled, it seems there is no default value for datapoints_to_alarm. The AWS UI seems to set this value to 1 by default.

I think we can set the default to null here, just in case users don't want to override this value. In that case AWS will set whatever value they have defined as default.

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