Skip to content
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

feat: add CloudWatch queries #236

Merged
merged 4 commits into from
Apr 6, 2021
Merged

feat: add CloudWatch queries #236

merged 4 commits into from
Apr 6, 2021

Conversation

AntoineAugusti
Copy link
Contributor

@AntoineAugusti AntoineAugusti commented Apr 6, 2021

aws_cloudwatch_query_definition is a new resource available on the AWS provider hashicorp/terraform-provider-aws#13223

We had a bunch of queries saved in production, those have been created using the AWS console. Recreate our queries in Terraform to make sure that we have the same queries between staging and production.

Trello: https://trello.com/c/MMknwMKW/420-add-cloudwatch-queries-on-terraform

@AntoineAugusti AntoineAugusti marked this pull request as ready for review April 6, 2021 13:49
@@ -0,0 +1,46 @@
resource "aws_cloudwatch_query_definition" "admin-api-50X-errors" {
Copy link
Contributor Author

@AntoineAugusti AntoineAugusti Apr 6, 2021

Choose a reason for hiding this comment

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

Those queries have been copy/pasted from the AWS console in production

Copy link
Contributor

@QuanNguyen-CDS QuanNguyen-CDS left a comment

Choose a reason for hiding this comment

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

Yes, this looks good

@AntoineAugusti AntoineAugusti merged commit 2db6aa9 into main Apr 6, 2021
@AntoineAugusti AntoineAugusti deleted the cloudwatch-queries branch April 6, 2021 15:48
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