Update deploy.bicep#1041
Merged
AlexanderSehr merged 1 commit intoAzure:mainfrom Feb 25, 2022
zaidmohd:main
Merged
Conversation
Update shared key to null for ER
AlexanderSehr
approved these changes
Feb 25, 2022
Contributor
|
Awesome @zaidmohd , thanks :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update arm/Microsoft.Network/connections/deploy.bicep VPN Shared key for deploying ER connection.
Issue when creating ER connections for ER, due to this check.
It failed with the error - Shared Key cannot be set for Connection
Please see https://aka.ms/DeployOperations for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"{\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"CannotSetSharedKeyForExpressRouteConnectionType\\\",\\r\\n \\\"message\\\": \\\"Shared Key cannot be set for Connection /subscriptions/82fac175-a212-4825-bc86-69d11d6ed2da/resourceGroups/rg-s-a-hubnetwork/providers/Microsoft.Network/connections/con-s-a-hub of type ExpressRoute.\\\",\\r\\n \\\"details\\\": []\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}}
Change
Type of Change
Please delete options that are not relevant.
Checklist