0
0
The preceding code creates a resource named "MyAWSResource" that is associated with the aws_iam_group resource type. The aws_iam_group resource type is a permissions-based IAM group that provides the following features:
Access to Amazon AWS resources.
Manage Amazon AWS resources.
Update Amazon AWS resources.
List Amazon AWS resources.
The resource type is used in the following code snippet to create an IAM group called "MyAWSGroup":
group MyAWSGroup {
}
The preceding code creates a new IAM group called "MyAWSGroup" and associates it with the resource type. The MyAWSGroup IAM group has the following permissions:
Access to Amazon AWS resources.
Manage Amazon AWS resources.
Update Amazon AWS resources.
List Amazon AWS resources.
Shortcut: tf_aws_iam_group
resource "aws_iam_group" "${MyAWSResource}" {
}