Name | Version |
---|---|
terraform | ~> 1.0 |
No providers.
Name | Source | Version |
---|---|---|
iam_policy | ./modules/iam_policy | n/a |
iam_role | ./modules/iam_role | n/a |
iam_role_policy_attachment | ./modules/iam_role_policy_attachment | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
create_iam_policy | Determinate to create iam_policy resources or not |
bool |
false |
no |
create_iam_role | Determinate to create iam_role resources or not |
bool |
false |
no |
create_iam_role_policy_attachment | Determinate to create iam_role_policy_attachment resources or not |
bool |
false |
no |
iam_policy | Required if create_iam_policy is set to true . The policy document. This is a JSON formatted string |
string |
null |
no |
iam_policy_arn | Required if create_iam_role_policy_attachment is set to true and create_iam_role_policy_attachment is set to false. The ARN of the policy you want to apply |
string |
null |
no |
iam_policy_description | Description of the IAM policy | string |
null |
no |
iam_policy_name | The name of the policy. If omitted, Terraform will assign a random, unique name | string |
null |
no |
iam_policy_path | Path in which to create the policy | string |
null |
no |
iam_policy_tags | Map of resource tags for the IAM Policy | map(string) |
null |
no |
iam_role_assume_role_policy | Required if create_iam_role is set to true . Policy that grants an entity permission to assume the role |
string |
null |
no |
iam_role_description | Description of the role | string |
null |
no |
iam_role_force_detach_policies | Whether to force detaching any policies the role has before destroying it. Defaults to false |
bool |
false |
no |
iam_role_inline_policy | Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, Terraform will not manage any inline policies in this resource | object({ |
null |
no |
iam_role_managed_policy_arns | Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, Terraform will ignore policy attachments to this resource. When configured, Terraform will align the role's managed policy attachments with this set by attaching or detaching managed policies | set(string) |
null |
no |
iam_role_max_session_duration | Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours | number |
null |
no |
iam_role_name | Friendly name of the role. If omitted, Terraform will assign a random, unique name | string |
null |
no |
iam_role_path | Path to the role | string |
null |
no |
iam_role_permissions_boundary | ARN of the policy that is used to set the permissions boundary for the role | string |
null |
no |
iam_role_tags | Key-value mapping of tags for the IAM role | map(string) |
null |
no |
use_iam_policy_name_prefix | Determinate to use name_prefix or not |
bool |
false |
no |
use_iam_role_name_prefix | Determinate to use name_prefix or not |
bool |
false |
no |
Name | Description |
---|---|
iam_policy | The policy document |
iam_policy_arn | The ARN assigned by AWS to this policy |
iam_policy_description | The description of the policy |
iam_policy_id | The ARN assigned by AWS to this policy |
iam_policy_name | The name of the policy |
iam_policy_path | The path of the policy in IAM |
iam_policy_policy_id | The policy's ID |
iam_role_arn | Amazon Resource Name (ARN) specifying the role |
iam_role_id | Name of the role |
iam_role_name | Name of the role |
iam_role_unique_id | Stable and unique string identifying the role |