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

Last modified August 5, 2022 : Cleanup install script (#197) (2175394)