Skip to content

aws.iam-group-policy resource

Description

GroupPolicy manages an inline policy embedded in an IAM group. The group name and policy name form the identity, so a change to either makes a different policy and recreates this one. The policy document is updated in place with PutGroupPolicy.

Source: internal/service/iam/group_policy_rsrc.go:24

Example usage:

imports: {
  aws: 'github.com/cloudboss/unobin-library-aws'
}

resources: {
  example: aws.iam-group-policy {
    # Set input fields here.
  }
}

Inputs

group-name

string

required

policy-name

string

required

policy-document

string

required

Input Constraints

This kind declares no extra input constraints.

Outputs

group-name

string

policy-name

string

policy-document

string