Skip to content

Commit a4450fd

Browse files
AzureResourceManagerTemplateDeploymentV3 fixes port from master (#13213)
* Set `action` variable before it is used (#13149) * Set `action` before it is used * Bump version * Fix version Co-authored-by: Dan Friedman <[email protected]> Co-authored-by: Anurag Chauhan <[email protected]> * fix subscription input to make it editable (#13193) Co-authored-by: Dan Friedman <[email protected]> Co-authored-by: Dan Friedman <[email protected]>
1 parent fa02ef8 commit a4450fd

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Tasks/AzureResourceManagerTemplateDeploymentV3/models/TaskParameters.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ export class TaskParameters {
8888
}
8989
}
9090

91+
this.action = tl.getInput("action");
92+
9193
//Location
9294
this.location = tl.getInput("location");
9395
if(!this.location && this.deploymentScope === "Resource Group" && this.action != "DeleteRG"){
@@ -116,7 +118,6 @@ export class TaskParameters {
116118
this.graphCredentials = await this.getGraphCredentials(this.connectedService);
117119
this.deploymentOutputs = tl.getInput("deploymentOutputs");
118120
this.addSpnToEnvironment = tl.getBoolInput("addSpnToEnvironment", false);
119-
this.action = tl.getInput("action");
120121

121122
return this;
122123
} catch (error) {

Tasks/AzureResourceManagerTemplateDeploymentV3/task.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"version": {
1616
"Major": 3,
1717
"Minor": 2,
18-
"Patch": 6
18+
"Patch": 8
1919
},
2020
"demands": [],
2121
"minimumAgentVersion": "2.119.1",
@@ -78,6 +78,9 @@
7878
"required": true,
7979
"groupName": "AzureDetails",
8080
"helpMarkDown": "Select the Azure subscription",
81+
"properties": {
82+
"EditableOptions": "True"
83+
},
8184
"visibleRule": "deploymentScope != Management Group"
8285
},
8386
{

Tasks/AzureResourceManagerTemplateDeploymentV3/task.loc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"version": {
1616
"Major": 3,
1717
"Minor": 2,
18-
"Patch": 6
18+
"Patch": 8
1919
},
2020
"demands": [],
2121
"minimumAgentVersion": "2.119.1",
@@ -78,6 +78,9 @@
7878
"required": true,
7979
"groupName": "AzureDetails",
8080
"helpMarkDown": "ms-resource:loc.input.help.subscriptionName",
81+
"properties": {
82+
"EditableOptions": "True"
83+
},
8184
"visibleRule": "deploymentScope != Management Group"
8285
},
8386
{

0 commit comments

Comments
 (0)