Skip to content

launchbynttdata/tf-aws-module_primitive-iam_role

Repository files navigation

tf-aws-module_primitive-iam_role

Requirements

Name Version
terraform ~> 1.0
aws ~> 5.0

Providers

Name Version
aws 5.100.0

Modules

No modules.

Resources

Name Type
aws_iam_role.this resource
aws_iam_policy_document.assume_role data source

Inputs

Name Description Type Default Required
name The name of the IAM role. string null no
name_prefix The prefix for the IAM role name. string null no
tags A map of tags to assign to the IAM role. map(string) {} no
assume_role_policy IAM assume role policy statements to include in the trust policy.
list(object({
sid = optional(string)
effect = optional(string, "Allow")
actions = list(string)

# each statement may have multiple principal blocks
principals = optional(list(object({
type = string
identifiers = list(string)
})))

conditions = optional(list(object({
test = string # e.g., "StringEquals"
variable = string # e.g., "aws:PrincipalTag/Team"
values = list(string) # e.g., ["DevOps"]
})))
}))
n/a yes
max_session_duration The maximum session duration (in seconds) for the IAM role. number 3600 no
permission_boundary_arn The ARN of the policy used to set the permissions boundary for the IAM role. string null no
path The path for the IAM role. string null no
force_detach_policies Whether to force detachment of policies when deleting the IAM role. bool false no
description The description of the IAM role. string null no

Outputs

Name Description
role_arn The ARN of the IAM role.
role_name The name of the IAM role.
role_id The unique ID of the IAM role.
role_unique_id The unique ID of the IAM role.
create_date The creation date of the IAM role.
role_tags The tags applied to the IAM role.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published