-
Notifications
You must be signed in to change notification settings - Fork 342
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
In version 8.2.0 amazon.aws.iam_role create_instance_profile: false no longer works #2281
Closed
1 task done
Labels
Comments
1 task
tremble
added a commit
to tremble/amazon.aws
that referenced
this issue
Sep 4, 2024
…en not creating a profile fixes: ansible-collections#2102 fixes: ansible-collections#2281
tremble
added a commit
to tremble/amazon.aws
that referenced
this issue
Sep 4, 2024
…en not creating a profile fixes: ansible-collections#2102 fixes: ansible-collections#2281
tremble
added a commit
to tremble/amazon.aws
that referenced
this issue
Sep 4, 2024
…en not creating a profile fixes: ansible-collections#2102 fixes: ansible-collections#2281
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Sep 4, 2024
…en not creating a profile (#2282) fixes: #2102 fixes: #2281 SUMMARY #2221 deprecation logic accidentally forced create_instance_profile to True The IAM refactor made iam_role sensitive to pre-existing instance profiles with the same name. ISSUE TYPE Bugfix Pull Request COMPONENT NAME iam_role ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: GomathiselviS
patchback bot
pushed a commit
that referenced
this issue
Sep 4, 2024
…en not creating a profile (#2282) fixes: #2102 fixes: #2281 SUMMARY #2221 deprecation logic accidentally forced create_instance_profile to True The IAM refactor made iam_role sensitive to pre-existing instance profiles with the same name. ISSUE TYPE Bugfix Pull Request COMPONENT NAME iam_role ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: GomathiselviS (cherry picked from commit 4867e68)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Sep 4, 2024
…en not creating a profile (#2282) (#2283) This is a backport of PR #2282 as merged into main (4867e68). fixes: #2102 fixes: #2281 SUMMARY #2221 deprecation logic accidentally forced create_instance_profile to True The IAM refactor made iam_role sensitive to pre-existing instance profiles with the same name. ISSUE TYPE Bugfix Pull Request COMPONENT NAME iam_role ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When I try using the newly released 8.2.0,
amazon.aws.iam_role
create_instance_profile: false
is not working. It always tries to create the profile, which fails in my case and is why I am telling iam_role not to create the profile. This was working in 8.1.0.I believe the changes made in braydencw1@750eef7 have a few bugs.
I don't think this change in iam_role.py
is correct. Did you mean to use
and
instead ofor
?Also think you need to change these lines in iam_role.py to
is not None
Issue Type
Bug Report
Component Name
iam_role
Ansible Version
Collection Versions
AWS SDK versions
Configuration
$ ansible-config dump --only-changed
OS / Environment
RHEL 9
Steps to Reproduce
Expected Results
The create instance profile SHOULD NOT be tried, but it always is, no matter the setting.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: