Provides an IAM group.
resource "aws_iam_group" "developers" { name = "developers" path = "/users/" }
The following arguments are supported:
name
- (Required) The group's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-_.
. Group names are not distinguished by case. For example, you cannot create groups named both "ADMINS" and "admins". path
- (Optional, default "/") Path in which to create the group. In addition to all arguments above, the following attributes are exported:
id
- The group's ID. arn
- The ARN assigned by AWS for this group. name
- The group's name. path
- The path of the group in IAM. unique_id
- The unique ID assigned by AWS. IAM Groups can be imported using the name
, e.g.
$ terraform import aws_iam_group.developers developers
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/iam_group.html