Add support for ExirationDate value for groups.memberships.ExpiryDetail #10343
Labels
decision-needed
enhancement
forward/review
In review; remove label to forward
service/cloudidentity-groups
size/s
Milestone
Community Note
Description
Add support for automatic expirations of group members
https://cloud.google.com/identity/docs/how-to/manage-expirations
this feature allows an admin to programatically set an expiration time for a user in a google group. this can be used to control 'firecall' or just in time access.
The current
cloud_identity_group
resource does not allow setting this valueNote, if a user is added to a group through a discrete operation ouside of using this module (eg, a resource provisioning the user ot a group directly using https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/create) then when if the auto expiration is set and the user is removed out of band, the first terraform provisioning step would see the resource is not present and attempt to readd this. This may cause some significant issues but i'm not sure if this new flag in this resource would cause more potential harm than help..
New or Affected Resource(s)
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_identity_group
Potential Terraform Configuration
suggested form:
References
GoogleCloudPlatform/magic-modules#3696
https://github.com/salrashid123/iam_autorevoke#terraform
The text was updated successfully, but these errors were encountered: