Resource
dcloud_iam_group_policy_attachment
Attaches an IAM policy to an IAM group.
Example Usage
resource "dcloud_iam_group_policy_attachment" "developers_dns" {
group_id = dcloud_iam_group.developers.id
policy_id = dcloud_iam_policy.dns_read.id
}Schema
Required
group_id(String) The id of the parent resource ({id}in the path). Changing it replaces the resource.policy_id(String) The policy to attach. Changing it replaces the resource.
Read-Only
id(String) The resource's id.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
terraform import dcloud_iam_group_policy_attachment.developers_dns <group-id>/<policy-id>Generated from the provider's schema.
Related