Skip to content

Conversation

@detienne20
Copy link
Contributor

Description

This PR adds a user confirmation flag to az ts create to account for the scenario where a user updates a template spec version via the create command; in that case the existing template spec version would be overwritten because create is not a patch like operation.

Testing Guide

{

  1. Create template spec version

ts create -g {rg} -n {template_spec_name} -v 1.0 -l {resource_group_location} -f "{template_file}" -d {display_name} --description {description} --version-description {version_description}

  1. Use the create function to "update" the template spec in step one. The description should now be null and the template content changed.

ts create -g {rg} -n {template_spec_name} -v 1.0 -f "{different_template_file}" --yes

}

dkmiller and others added 30 commits April 27, 2020 16:13
…e stamp added to deployment_name, excess file removed in commit, launch,json reverted
@yonzhan yonzhan requested a review from jsntcy October 12, 2020 05:22
@yonzhan yonzhan modified the milestones: S178, S177 Oct 12, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 12, 2020

ts

@Juliehzl
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@Juliehzl
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@detienne20 detienne20 changed the title [ts] Add user confirmation for az ts create [ts] BREAKING CHANGE: Add user confirmation for az ts create Oct 19, 2020
@detienne20 detienne20 requested a review from Juliehzl October 19, 2020 16:27
Copy link
Contributor

@Juliehzl Juliehzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general. Could you refine the title name with [ARM] not [ts]?

@detienne20 detienne20 changed the title [ts] BREAKING CHANGE: Add user confirmation for az ts create [ARM] BREAKING CHANGE: Add user confirmation for az ts create Oct 20, 2020
@detienne20 detienne20 requested a review from zhoxing-ms October 20, 2020 14:59
Copy link
Contributor

@zhoxing-ms zhoxing-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhoxing-ms zhoxing-ms merged commit f707487 into Azure:dev Oct 22, 2020
@detienne20 detienne20 deleted the daetienn/TemplateSpecsIdempotency branch December 2, 2020 16:38
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.

8 participants