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

Property require_client_authentication is deprecated but apply #191

Open
robertregnier opened this issue Mar 29, 2023 · 0 comments
Open

Comments

@robertregnier
Copy link

If you set the require_client_authentication property to false, a warning is generated by terraform:

│ Warning: Argument is deprecated

│ with fusionauth_application.website,
│ on main.tf line 547, in resource "fusionauth_application" "website":
│ 547: require_client_authentication = false

│ In version 1.28.0 and beyond, client authentication can be managed via oauth_configuration.client_authentication_policy.

Yet if you use the new property like this:

  oauth_configuration {
    client_authentication_policy        = "NotRequired"
   ...

...then terraform apply will attempt to set the default value of the deprecated property each time:

  ~ oauth_configuration {
      ~ require_client_authentication      = false -> true
        # (11 unchanged attributes hidden)
    }

The expected behaviour is that terraform will not attempt to set the default value of the deprecated property.

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