Resource: aws_iam_group

Provides an IAM group.

Example Usage

resource "aws_iam_group" "developers" {
  name = "developers"
  path = "/users/"
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import IAM Groups using the name. For example:

import {
  to = aws_iam_group.developers
  id = "developers"
}

Using terraform import, import IAM Groups using the name. For example:

% terraform import aws_iam_group.developers developers