Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.25 KB

File metadata and controls

30 lines (22 loc) · 1.25 KB

Terraform Policy to Role Module

This module creates a IAM policy and attaches the policy to an existing Role.

Inputs

Name Description Type Default Required
policy_actions A List of policy actions list n/a yes
policy_name The name of the policy to create string n/a yes
policy_sid An ID for the policy statement. It must be alphanumeric characters only string n/a yes
role_name The name of the role to attach the policy to string n/a yes
policy_resources The resources defined in the policy list <list> no

Inputs

Name Description Type Default Required
policy_actions A List of policy actions list n/a yes
policy_name The name of the policy to create string n/a yes
policy_sid An ID for the policy statement. It must be alphanumeric characters only string n/a yes
role_name The name of the role to attach the policy to string n/a yes
policy_resources The resources defined in the policy list <list> no

Outputs

Name Description
policy_name The name of the policy created