2 votes

AWS API Gateway: 403 forbidden with disabled API key; error from cloudfront

Besides setting API Key Required = false, I was missing something in API Gateway > Custom domain names: The API Mapping had no stage selected. When I selected dev, the endpoint worked.
user avatar
2 votes

Why are all volumes deleted when 1 EC2 instance is deleted via Terraform?

The issue is with the availability_zone on the aws_ebs_volume resource. it depends on the aws_instance, so when Terraform destroys the EC2, it thinks that your EBS can't live without it. Even though ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible