Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.05 KB

README.md

File metadata and controls

38 lines (27 loc) · 2.05 KB

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_iam_instance_profile.instance_profile resource
aws_iam_policy.iam_policy resource
aws_iam_role.iam_role resource
aws_iam_role_policy_attachment.attach_policy resource

Inputs

Name Description Type Default Required
assume_role_policy The role policy variables
object({
Version = string
Statement = list(object({
Action = string
Effect = string
Principal = object({
Service = string
})
}))
})
n/a yes
env Environment string "stg" no
policy Policy definition por iam role
object({
Version = string
Statement = list(object({
Effect = string
Action = list(string)
Resource = list(string)
}))
})
n/a yes
role_name The name of the IAM role string n/a yes

Outputs

Name Description
instance_profile_name The name of the instance profile assigned to EC2
role_name The name of the IAM role assigned to EC2