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

IAM Policy Attachment - Lookups for built-in policies #61

Open
zachreborn opened this issue Apr 4, 2024 · 0 comments
Open

IAM Policy Attachment - Lookups for built-in policies #61

zachreborn opened this issue Apr 4, 2024 · 0 comments
Assignees

Comments

@zachreborn
Copy link
Owner

Describe the feature

Add the ability to lookup a built-in policy based on the name of the policy and automatically fetch the ARN to add to the IAM user or group.

Examples

module "example_user_policy" {
  source = "github.com/zachreborn/terraform-modules//modules/aws/iam/user_policy_attachment"

  policy_name = "AWSApplicationDiscoveryAgentAccess"
  user       = module.migration_evaluator_collector.user_name
}
@zachreborn zachreborn self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant