No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_iam_instance_profile.app | resource |
aws_iam_policy.app | resource |
aws_iam_role.app | resource |
aws_iam_role_policy_attachment.custom_policy | resource |
aws_iam_role_policy_attachment.standard_policy | resource |
aws_caller_identity.current | data source |
aws_iam_policy_document.assume_role | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
policy_json | Policy document in JSON format | string |
n/a | yes |
role_name | Name of the role, which will be prefixed with App_ | string |
n/a | yes |
service | AWS service to trust: [ec2,lambda] | string |
"ec2" |
no |
Name | Description |
---|---|
instance_profile_arn | ARN of the EC2 instance profile |
role_arn | ARN of the IAM role |