Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Terratest fails to create autoscaling group #22

Open
dms1981 opened this issue Oct 19, 2022 · 0 comments
Open

Terratest fails to create autoscaling group #22

dms1981 opened this issue Oct 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dms1981
Copy link
Contributor

dms1981 commented Oct 19, 2022

As seen in this run, Terratest unit tests fail with the following error:

│ Error: creating Auto Scaling Group (terraform-20221019101124550000000009): AccessDenied: Not authorized for images: [ami-0f1ed977261c5e8e7]
│ 	status code: 403, request id: e4ec0580-d70a-4518-8f1e-9875b78b853c
│ 
│   with module.ecs.aws_autoscaling_group.cluster-scaling-group,
│   on .terraform/modules/ecs/main.tf line 40, in resource "aws_autoscaling_group" "cluster-scaling-group":
│   40: resource "aws_autoscaling_group" "cluster-scaling-group" {
│ 
╵}

Hopefully this is just a combination of permissions for the IAM user / AMI.

@dms1981 dms1981 added the bug Something isn't working label Oct 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant