We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea2389 commit 0d88778Copy full SHA for 0d88778
cd3_automation_toolkit/user-scripts/terraform/modules/identity/identity-domain-user/main.tf
@@ -31,10 +31,14 @@ resource "oci_identity_domains_user" "user" {
31
value = var.email
32
verified = false
33
}
34
- emails {
+ dynamic "emails" {
35
+ for_each = var.recovery_email != null ?[1]:[]
36
+ content {
37
type = "recovery"
38
value = var.recovery_email
39
+}
40
41
+
42
dynamic "phone_numbers" {
43
for_each = can(var.home_phone_number) && var.home_phone_number != null ? [var.home_phone_number] : []
44
content {
0 commit comments