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

appservice: conditionally rewriting the value for virtual_network_subnet_id #25885

Merged
merged 1 commit into from May 23, 2024

Conversation

tombuildsstuff
Copy link
Member

Community Note

  • Please vote on this PR by adding a 👍 reaction to the original PR to help the community and maintainers prioritize for review
  • Please do not leave "+1" or "me too" comments, they generate extra noise for PR followers and do not help prioritize for review

Description

This fixes #25832 by ensuring that the Subnet ID is recased meaning that it'll be in the correct format.

From our side since we're validating the user input for this field, it's hard for us to write a test-case for this one since it'd be caught by the validation - but this is caused by user input for this field (provisioned through an ARM Template etc) providing this value without the prefix '/', which the API should be requiring (but isn't).

…bnet_id`

This fixes #25832 by ensuring that the Subnet ID is recased
meaning that it'll be in the correct format.

From our side since we're validating the user input for this field, it's hard for us to write a test-case for this one since
it'd be caught by the validation - but this is caused by user input for this field (provisioned through an ARM Template etc)
providing this value without the prefix '/', which the API should be requiring (but isn't).
@tombuildsstuff
Copy link
Member Author

Tests look good 👍

@tombuildsstuff tombuildsstuff merged commit e99025c into main May 23, 2024
29 checks passed
@tombuildsstuff tombuildsstuff deleted the b/app-service-subnet-id-25832 branch May 23, 2024 09:31
tombuildsstuff added a commit that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subnet Ids starting with '/' cause resources to always be updated
2 participants