-
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
Added client certificate exclusion paths app service setting #16603
Added client certificate exclusion paths app service setting #16603
Conversation
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.
Thanks for the pr @olofattemo, overall this looks great! my only comments being that we should change the property names (left a comment inline) and that the docs need updating. once that is resolved this should be good to merge!
@@ -190,6 +191,12 @@ func (r LinuxFunctionAppResource) Arguments() map[string]*pluginsdk.Schema { | |||
Description: "The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` ", | |||
}, | |||
|
|||
"client_cert_exclusion_paths": { |
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.
same here
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.
fixed
@@ -173,6 +174,12 @@ func (r LinuxFunctionAppSlotResource) Arguments() map[string]*pluginsdk.Schema { | |||
Description: "The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`.", | |||
}, | |||
|
|||
"client_cert_exclusion_paths": { |
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.
and for the rest
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.
fixed
Ok @katbyte. Thanks for the review. Looks like I confused the naming of the attributes in TF with the API which appears to use a shortened version. Definitively prefer the long names. Will update the docs and change the name of the property name. Going to draft until resolved. |
e2200fc
to
4add667
Compare
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.
Thanks @olofattemo - we definitely do try and use the name that provides the best UI. looks like we have some test failures to fix:
4add667
to
eed07d5
Compare
Ok @katbyte I fixed the formatting. I assumed the fmtcheck target in the makefile would catch this but I needed to be more thorough |
eed07d5
to
e0396c0
Compare
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.
Thanks @olofattemo - looks like we have some test failures now thou
e0396c0
to
f76d8d7
Compare
Hi @olofattemo - Hope you don't mind, but I pushed some changes to your branch to resolve the merge conflicts and fix the test issues. I'll loop back asap to re-review. |
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.
LGTM 🍄
This functionality has been released in v3.28.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. |
Allows setting the "client_cert_exclusion_paths" on app service web and function apps as suggested in:
#8876