skip to Main Content

Amazon web services – Terraform Error: creating CloudWatch Alarm ValidationError – Invalid metrics list status code 400

I'm attempting to create a CloudWatch anomaly detector alarm for my Kinesis data stream using Terraform. I made the following setup based on the official Terraform xx_anomaly_detection example in their documentation: resource "aws_cloudwatch_metric_alarm" "my_anomaly_detector" { alarm_name = "LowIncomingRecordsAnomaly" comparison_operator =…

VIEW QUESTION

Amazon web services – Lambda custom al2 runtime with golang, timing out init phase

I've an existing lambda function with go1.x runtime, which working fine with sqs triggers. Trying to update the function to use new provided.al2 runtime using the instructions here. https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/ Have updated the binary with bootstrap name, with this updated build…

VIEW QUESTION

Amazon web services – Terraform – Addition of security group to aws_instance leads to replacement of the instance

I have a terraform file, which is responsible for creation of an ec2 instance as well as the security groups. resource "aws_instance" "ec2" { ami = "ami-06791f9213cbb608b" instance_type = "t2.micro" key_name = "terraform-key" depends_on = [aws_security_group.ssh_group] security_groups = [aws_security_group.ssh_group.name] }…

VIEW QUESTION
Back To Top
Search