skip to Main Content

Amazon web services – An argument named "vpc_security_group_ids" is not expected here … not sure why i am getting this error

My terraform security local ec2 module looks like so resource "aws_instance" "mysql" { ami = data.aws_ami.latest_amazon_linux.id instance_type = var.instance_type # override this at module call key_name = aws_key_pair.my_local_pubkey.key_name # override this at module call vpc_security_group_ids = [var.default_sg] # override security…

VIEW QUESTION

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
Back To Top
Search