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

[Bug]: "Subnet missing required delegation 'Microsoft.ContainerInstance' for container group 'VSCodeBox #8

Open
David-hughes8 opened this issue Oct 20, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@David-hughes8
Copy link

What happened?

Running the workflow against a subnet with / without the delegation Microsoft.ContainerInstance/containerGroups makes no difference the workflow still fails with the above error.
Any help would be appreciated.

PS
Also the secret variables - in the worklfow you require three variables not one mentioned in the documentation.

What Image are you seeing the problem on?

VS2022Box, VSCodeBox

Relevant log output

SystemExit: ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"BadRequest","message":"{\r\n  \"error\": {\r\n    \"code\": \"SubnetMissingRequiredDelegation\",\r\n    \"message\": \"Subnet missing required delegation 'Microsoft.ContainerInstance' for container group 'VSCodeBox'.\"\r\n  }\r\n}"}]}}
@David-hughes8 David-hughes8 added the bug Something isn't working label Oct 20, 2022
@robinhalabicki
Copy link

You may need to check the SUBNET_ID in the Github workflow. It doesn't use the variables in the images.yml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants