-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remove incorrect validation of app service sticky setting names #17209
Remove incorrect validation of app service sticky setting names #17209
Conversation
This validation is too strict. The Azure Portal allows the following name for both app settings and connection strings: A test: !@#$%^&*()_+-=' ";/? I can't find a reference for what the valid character set would be, and the names in the app_settings attribute aren't validated at all, so we may as well remove this validation. Fixes hashicorp#16612
@jackofallops I would love to get this into an upcoming release because it's blocking my use of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HI @jennings - Apologies for the delay in review, I've been away for a few days.
Thanks for the catch here, the information I developed this against suggested this was the correct validation, but I should have remembered your point about setting hierarchy, my bad!
Just two minor changes needed, since we can't remove validation entirely here.
Can you add test(s) for these names that cover special characters? Since this is something that can potentially change over time, we'd need to ensure that's covered. Once those changes and tests are in I'll run them on our acceptance suite and we'll get this merged.
Thanks again!
@jackofallops I added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jennings - Thanks for making those changes, this LGTM now 👍
This functionality has been released in v3.12.0 of the Terraform 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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This validation is too strict. The Azure Portal allows the following name for both app settings and connection strings:
I can't find a reference for what the valid character set would be, and the names in the app_settings attribute aren't validated at all, so we may as well remove this validation.
Fixes #16612