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

Update deploy.bicep #1041

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Update deploy.bicep #1041

merged 1 commit into from
Feb 25, 2022

Conversation

zaidmohd
Copy link
Contributor

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}"}]}}

image

Change

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • My corresponding pipelines / checks run clean and green without any errors or warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (readme)
  • I did format my code

Update shared key to null for ER
@AlexanderSehr AlexanderSehr merged commit 854cae1 into Azure:main Feb 25, 2022
@AlexanderSehr
Copy link
Contributor

Awesome @zaidmohd , thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants