Skip to content

remote module that loops over a collection of IAM policies to attach to a given IAM role

License

Notifications You must be signed in to change notification settings

stablecaps/terraform-aws-iam-policies-stablecaps

Repository files navigation

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_iam_role.this resource
aws_iam_role_policy.this resource
aws_iam_role_policy_attachment.this resource

Inputs

Name Description Type Default Required
custom_policies Map of maps containing IAM policy definitions. Map key is used as policy name any {} no
managed_policies Map of maps containing predinied IAM managed policy arns. map(string) {} no
role_desc AWS IAM role description. String must contain $env string n/a yes
role_name AWS IAM role name. String must contain $env string n/a yes
role_path AWS IAM role path location. String must begin with '/(live-test|lambda|ec2)*' string n/a yes
tags Tags to be applied to resources map(string) n/a yes
trusted_entity_principals IAM Trusted entity principals map(string) n/a yes

Outputs

Name Description
iam_role_arn IAM role arn
iam_role_id IAM role ID

About

remote module that loops over a collection of IAM policies to attach to a given IAM role

Resources

License

Stars

Watchers

Forks

Packages

No packages published