From e0c336073487e88e4ef4d30806d380a39c459eb9 Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 24 Jun 2024 15:39:34 -0700 Subject: [PATCH] Fix https://github.com/hashicorp/terraform-provider-google/issues/18085 (#11031) (#18537) [upstream:4abf95bc8d1b3451af255c59267abd98618838b5] Signed-off-by: Modular Magician --- .changelog/11031.txt | 3 +++ .../identityplatform/resource_identity_platform_config.go | 1 + 2 files changed, 4 insertions(+) create mode 100644 .changelog/11031.txt diff --git a/.changelog/11031.txt b/.changelog/11031.txt new file mode 100644 index 00000000000..e4596f775bd --- /dev/null +++ b/.changelog/11031.txt @@ -0,0 +1,3 @@ +```release-note:bug +identityplatform: fixed the planning diff when `sms_region_config` is not set. +``` \ No newline at end of file diff --git a/google/services/identityplatform/resource_identity_platform_config.go b/google/services/identityplatform/resource_identity_platform_config.go index ce59663d025..a5bc861d092 100644 --- a/google/services/identityplatform/resource_identity_platform_config.go +++ b/google/services/identityplatform/resource_identity_platform_config.go @@ -421,6 +421,7 @@ email/password or email link.`, }, "sms_region_config": { Type: schema.TypeList, + Computed: true, Optional: true, Description: `Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number.`, MaxItems: 1,