terraform-provider-snowflake: [Bug]: Error: failed to find allowed user domains, err = object does not exist

Terraform CLI Version

1.9.2

Terraform Provider Version

0.93

Terraform Configuration

Upgraded the provider from 0.92 to 0.93

Category

category:resource

Object type(s)

No response

Expected Behavior

After align resources with new 0.93 standards, the plan should be successful.

Actual Behavior

The resource snowflake_saml2_integration fails with the below message message. Reverting to snowflake_saml_integration doesn’t help. I get the same error.

│ Error: failed to find allowed user domains, err = object does not exist
│ 
│   with snowflake_saml2_integration.saml_integration,
│   on snowflake_aad_provisioner.tf line 31, in resource "snowflake_saml2_integration" "saml_integration":
│   31: resource "snowflake_saml2_integration" "saml_integration" {

Steps to Reproduce

Upgrade provider to 0.93 with a deployment containing snowflake_saml2_integration.

How much impact is this issue causing?

High

Logs

No response

Additional Information

No response

Would you like to implement a fix?

  • Yeah, I’ll take it 😎

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15

Commits related to this issue

Most upvoted comments

Thanks! For now we commented out the code for the resource and removed it from terraform state. Once the issue is resolved, we import it back.