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

AzureResourceManagerTemplateDeploymentV3 cannot successfully run the generated YAML for a delete action #13148

Closed
MisinformedDNA opened this issue Jun 18, 2020 · 1 comment

Comments

@MisinformedDNA
Copy link
Contributor

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: AzureResourceManagerTemplateDeploymentV3

list here (V# not needed):

https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines
  • Agent - Hosted

Issue Description

The task cannot successfully run the generated YAML for a delete action.

  1. Fill in the required fields:
    image
  • NOTE: Location is not asked for
  1. Add to a YAML pipeline and run

EXPECTED: The task deletes the RG

ACTUAL: Error found in logs

##[error]Error: Task failed while initializing. Error: Location is required for deployment

Troubleshooting

I took a look at the code and this.action is being used before it has been correctly set.

@anuragc617
Copy link
Contributor

Closing this, as PR has been merged and the fix will be deployed to all rings in a week or so.

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

No branches or pull requests

4 participants