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

fix: Discouraged usage of iam_policy_attachment in example #1529

Merged
merged 2 commits into from
Aug 26, 2021

Conversation

clushie
Copy link
Contributor

@clushie clushie commented Aug 12, 2021

PR o'clock

Description

The comment above also links to an IAM role policy attachment.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy_attachment is discouraging, pointing out issues/limitations using iam_policy_attachment.

This should allow the same functionality

Checklist

@clushie clushie changed the title Fix discouraged usage of iam_policy_attachment fix: discouraged usage of iam_policy_attachment Aug 18, 2021
The comment above also links to an IAM role policy attachment.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy_attachment is discouraging, pointing out issues/limitations using iam_policy_attachment.

This should allow the same functionality
Copy link
Contributor

@daroga0002 daroga0002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agree, especially that this is default and commonly used policy "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy_attachment

@daroga0002
Copy link
Contributor

@antonbabenko 👍

@antonbabenko antonbabenko changed the title fix: discouraged usage of iam_policy_attachment fix: Discouraged usage of iam_policy_attachment in example Aug 26, 2021
@antonbabenko antonbabenko merged commit 551c6d6 into terraform-aws-modules:master Aug 26, 2021
@clushie
Copy link
Contributor Author

clushie commented Aug 26, 2021

Thank you for taking care :) glad that terraform-aws-module exists

@github-actions
Copy link

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants