Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bdschaap committed Jul 19, 2024
1 parent b123f9e commit 5edcc4a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions arm-helper/src/arm-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ export class ARMHelper {

const logger = new Logger(this._ctx.Logger.getPre().concat(deploymentName), this._ctx.Environment.logLevel);

try {
//now iterate through all resources in the template and append our standard tags to any existing tags in the ARM template.
try {
let tagsEnabled = this._ingredient.properties.parameters.get("tagsEnabled") || true;

if (tagsEnabled)
{
//now iterate through all resources in the template and append our standard tags to any existing tags in the ARM template.
logger.log('appending standard tags');
template = this.AppendStandardTags(template);
template = this.AppendStandardTags(template);
}

logger.log('starting arm deployment for template');

Expand Down

0 comments on commit 5edcc4a

Please sign in to comment.