Terraform code to create cloudwatch alarm for APIs in API Gateway which should send an alarm if the API count reaches 5000

I want to write a Terraform code to create cloudwatch alarm for APIs in API Gateway which should send an alarm if the API count reaches 5000, API and stage is created along with that we also have Log group created, i want to know the best way to execute this
Can someone help me with this

  • 1

    Please make sure you read this: stackoverflow.com/help/how-to-ask.

    – 

  • There is no best way to execute this since it really depends on your setup, you could use terraform, aws cloudformation, aws cli, AWS UI, CDK. There is no answer anyone can give you hear that would be right or wrong.

    – 

Leave a Comment