Creates an IAM policy

This module can be used to create and manage an AWS IAM policy via opta


  - 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": [
      "Effect": "Allow",
      "Resource": "*"


Name Description Default Required
file Json file path containing the Policy `` True


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)