Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking change in 1.1.3 #5694

Closed
envatopoho opened this issue Dec 12, 2017 · 6 comments
Closed

Breaking change in 1.1.3 #5694

envatopoho opened this issue Dec 12, 2017 · 6 comments

Comments

@envatopoho
Copy link

envatopoho commented Dec 12, 2017

This commit which made it into the 1.1.3 release introduces a dependency in AWS for the ec2:DescribeInstanceStatus permission on the role that is building AMI's.

This broke our pipelines which were previously working on 1.1.2. (We used the docker light image, which wasn't pinned so it automatically put us on the latest release).

Anyway, the new permission it should probably be documented at https://www.packer.io/docs/builders/amazon.html#using-an-iam-task-or-instance-role

@rickard-von-essen
Copy link
Collaborator

Thanks for bringing this to our attention.

@rickard-von-essen rickard-von-essen added this to the v1.2.0 milestone Dec 12, 2017
@mwhooker
Copy link
Contributor

Sorry about that, and thanks for the report! Definitely did not mean to break this in a patch release.

We've generally not done an excellent job of catching changes to the aws permissions we need. I'm going to investigate writing an acceptance test for these which will notify me of any permissions changes in the future.

In the meantime I'll update the docs

@mwhooker
Copy link
Contributor

mwhooker commented Dec 13, 2017

fixed in cba1a05

@envatopoho
Copy link
Author

No worries @mwhooker!

@JasonScottSF
Copy link

Does it depend on the specific permission being there?
I'm trying it with this as my IAM policy and it's not working.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "",
"Resource": "
"
}
]
}

@ghost
Copy link

ghost commented Apr 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants