devops/infra/modules/zitadel/tenant/role-owner/main.tf

31 lines
782 B
HCL

resource "zitadel_org" "default" {
depends_on = [var.wait_on]
name = var.name
is_default = true
}
output "org_id" {
value = zitadel_org.default.id
}
output "installed" {
value = true
depends_on = [zitadel_org.default]
}
#resource "zitadel_idp_google" "default" {
# name = "Google"
# client_id = "182902..."
# client_secret = "GOCSPX-*****"
# scopes = ["openid", "profile", "email"]
# is_linking_allowed = false
# is_creation_allowed = true
# is_auto_creation = false
# is_auto_update = true
# auto_linking = "AUTO_LINKING_OPTION_USERNAME"
#}
#google_client_id = "783390190667-0nkts50perpmhott4i7ro1ob5n7koi5i.apps.googleusercontent.com"
#google_client_secret = "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"