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

Provide a recommended way to work with Role Policies #3804

Open
t0yv0 opened this issue Apr 11, 2024 · 1 comment
Open

Provide a recommended way to work with Role Policies #3804

t0yv0 opened this issue Apr 11, 2024 · 1 comment
Labels
kind/enhancement Improvements or new features service/iam IAM things

Comments

@t0yv0
Copy link
Member

t0yv0 commented Apr 11, 2024

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Currently there are warnings on https://www.pulumi.com/registry/packages/aws/api-docs/iam/rolepolicyattachment/ and unexpected behavior of using that with aws.iam.PolicyAttachment. Having multiple ways to manage policies and roles is confusing to new users especially since our documentation and warnings/ runtime behavior do not steer to one recommended choice.

Quote:

NOTE: The usage of this resource conflicts with the aws.iam.PolicyAttachment resource and will permanently show a difference if both are defined.
NOTE: For a given role, this resource is incompatible with using the aws.iam.Role resource managed_policy_arns argument. When using that argument and this resource, both will attempt to manage the role’s managed policy attachments and Pulumi will show a permanent difference.

The task here is to figure out the recommended way to manage this infrastructure, and support users migrating to the recommended way with a combination of docs, deprecation and enhanced warnings.

Affected area/feature

@t0yv0 t0yv0 added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team service/iam IAM things and removed needs-triage Needs attention from the triage team labels Apr 11, 2024
@t0yv0
Copy link
Member Author

t0yv0 commented Apr 22, 2024

Related: #2246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features service/iam IAM things
Projects
None yet
Development

No branches or pull requests

1 participant