Data Source: aws_iam_group
This data source can be used to fetch information about a specific IAM group. By using this data source, you can reference IAM group properties without having to hard code ARNs as input.
Example Usage
data "aws_iam_group" "example" { group_name = "an_example_group_name" }
Argument Reference
-
group_name
- (Required) The friendly IAM group name to match.
Attributes Reference
-
arn
- The Amazon Resource Name (ARN) specifying the group. -
path
- The path to the group. -
group_id
- The stable and unique string identifying the group.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/iam_group.html