Skip to content

Update deploy.bicep#1041

Merged
AlexanderSehr merged 1 commit intoAzure:mainfrom
zaidmohd:main
Feb 25, 2022
Merged

Update deploy.bicep#1041
AlexanderSehr merged 1 commit intoAzure:mainfrom
zaidmohd:main

Conversation

@zaidmohd
Copy link
Copy Markdown
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
Copy Markdown
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