-
Notifications
You must be signed in to change notification settings - Fork 630
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
Force Cloudflare Access Application to be recreated if SaaS app auth_type is changed #3332
Conversation
changelog detected ✅ |
👍 Looks good to me, thank you for the contribution! |
looks like the acceptance test is failing here
|
oops @jacobbednarz , it should be |
sorry, it still looks to be failing here.
are you able to run these tests locally and confirm it is working for you? |
I am having trouble creating a token with the correct permissions:
These are the permissions I've assigned:
|
nice one, that's got it.
thanks for the PR. |
This functionality has been released in v4.35.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
The auth_type of an application cannot be changed. The only way is to delete the app and create it again as the API will return a 500 when changing an app from oidc to saml or vice-versa.
In the UI, this is stated very clearly:
This change adds the
ForceNew
behaviour toauth_type
, so that when it is changed, the resource will be recreated, rather than updated.Close #3314