aws-iam-policy
Creates an IAM policy
This module can be used to create and manage an AWS IAM policy via opta
Example
- name: policy
type: aws-iam-policy
file: valid_policy.json
Note: A valid policy document would look something like this.
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"ec2:Describe*"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
Fields
Name | Description | Default | Required |
---|---|---|---|
file |
Json file path containing the Policy | `` | True |
Outputs
Name | Description |
---|---|
policy_arn |
The arn of the IAM policy |
policy_id |
The id of the IAM policy |
policy_name |
The name of the IAM policy |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified
August 5, 2022
: Cleanup install script (#197) (2175394)