Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfppa on_challenge provides unexpected new value #46

Open
project0 opened this issue Jan 31, 2025 · 0 comments
Open

dfppa on_challenge provides unexpected new value #46

project0 opened this issue Jan 31, 2025 · 0 comments

Comments

@project0
Copy link

project0 commented Jan 31, 2025

dfppa creates incosistent result ending up in a error during apply. I am aware this is not supported configuration, but the validation should then avoid this kind of mistakes.

resource "stytch_b2b_sdk_config" "this" {
  project_id = stytch_project.this.live_project_id
  config = {
    basic = {
      enabled                   = true
      create_new_members        = true
      allow_self_onboarding     = true
      enable_member_permissions = true
      domains                   = var.domains
      bundle_ids                = var.bundle_ids
    }
    sessions = {
      max_session_duration_minutes = 60
    }
    totps = {
      enabled      = false
      create_totps = false
    }
    dfppa = {
      enabled                = "DISABLED"
      on_challenge           = "BLOCK"
      lookup_timeout_seconds = 10
    }
    cookies = {
      http_only = var.http_only
    }
  }
}
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to stytch_b2b_sdk_config.flowers_sbx_sdk_config, provider "provider[\"registry.terraform.io/stytchauth/stytch\"]" produced an unexpected new value: .config.dfppa.on_challenge: was
│ cty.StringVal("BLOCK"), but now cty.StringVal("ALLOW").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant