aws-iam-user

Creates an IAM user

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

Linking

This module can also be linked to other resource - which will provide it permission to access them.

Example

  - name: user
    type: aws-iam-user
    extra_iam_policies:
      - "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess"
    links:
      - s3: ["write"]
      - notifcationsQueue
      - schedulesQueue
      - topic

Fields

  • extra_iam_policies - Optional. The arns of additional IAM policies to be attached to this role. Default []
  • links - Optional. The list of links to add permissions for to this role. Default []

Outputs

  • user_arn - The arn of the user just created
Last modified September 22, 2021: Updating latest references (62bb6e2)