You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_folder_access_approval_settings" {
source="./modules/google-beta/r/google_folder_access_approval_settings"# folder_id - (required) is a type of stringfolder_id=null# notification_emails - (optional) is a type of set of stringnotification_emails=[]
enrolled_services=[{
cloud_product =null
enrollment_level =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
variable"folder_id" {
description="(required) - ID of the folder of the access approval settings."type=string
}
variable"notification_emails" {
description="(optional) - A list of email addresses to which notifications relating to approval requests should be sent.\nNotifications relating to a resource will be sent to all emails in the settings of ancestor\nresources of that resource. A maximum of 50 email addresses are allowed."type=set(string)
default=null
}
variable"enrolled_services" {
description="nested block: NestingSet, min items: 1, max items: 0"type=set(object(
{
cloud_product =string
enrollment_level =string
}
))
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_folder_access_approval_settings""this" {
# folder_id - (required) is a type of stringfolder_id=var.folder_id# notification_emails - (optional) is a type of set of stringnotification_emails=var.notification_emailsdynamic"enrolled_services" {
for_each=var.enrolled_servicescontent {
# cloud_product - (required) is a type of stringcloud_product=enrolled_services.value["cloud_product"]
# enrollment_level - (optional) is a type of stringenrollment_level=enrolled_services.value["enrollment_level"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}
output"enrolled_ancestor" {
description="returns a bool"value=google_folder_access_approval_settings.this.enrolled_ancestor
}
output"id" {
description="returns a string"value=google_folder_access_approval_settings.this.id
}
output"name" {
description="returns a string"value=google_folder_access_approval_settings.this.name
}
output"notification_emails" {
description="returns a set of string"value=google_folder_access_approval_settings.this.notification_emails
}
output"this" {
value=google_folder_access_approval_settings.this
}