diff --git a/ibm/resource_ibm_iam_account_settings.go b/ibm/resource_ibm_iam_account_settings.go index 3d46c5cd59..17ad474a56 100644 --- a/ibm/resource_ibm_iam_account_settings.go +++ b/ibm/resource_ibm_iam_account_settings.go @@ -223,6 +223,7 @@ func resourceIbmIamAccountSettingsRead(context context.Context, d *schema.Resour if err = d.Set("restrict_create_platform_apikey", accountSettingsResponse.RestrictCreatePlatformApikey); err != nil { return diag.FromErr(fmt.Errorf("Error setting restrict_create_platform_apikey: %s", err)) } + log.Println("**************[3]*****************", *accountSettingsResponse.AllowedIPAddresses) if err = d.Set("allowed_ip_addresses", accountSettingsResponse.AllowedIPAddresses); err != nil { return diag.FromErr(fmt.Errorf("Error setting allowed_ip_addresses: %s", err)) } @@ -282,7 +283,9 @@ func resourceIbmIamAccountSettingsUpdate(context context.Context, d *schema.Reso hasChange := false if d.HasChange("allowed_ip_addresses") { + log.Println("**************[1]*****************") allowed_ip_addresses_str := d.Get("allowed_ip_addresses").(string) + log.Println("**************[2]*****************", allowed_ip_addresses_str) updateAccountSettingsOptions.SetAllowedIPAddresses(allowed_ip_addresses_str) hasChange = true }