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_compute_shared_vpc_service_project" {
source="./modules/google-beta/r/google_compute_shared_vpc_service_project"# host_project - (required) is a type of stringhost_project=null# service_project - (required) is a type of stringservice_project=nulltimeouts=[{
create =null
delete =null
}]
}
variable"host_project" {
description="(required) - The ID of a host project to associate."type=string
}
variable"service_project" {
description="(required) - The ID of the project that will serve as a Shared VPC service project."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_compute_shared_vpc_service_project""this" {
# host_project - (required) is a type of stringhost_project=var.host_project# service_project - (required) is a type of stringservice_project=var.service_projectdynamic"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"]
}
}
}