Skip to content

Comments

Merge change allowing parameters files to be handled properly.#1764

Merged
Jtango18 merged 1 commit intomainfrom
jt-allow-bicep-paramaters-files
Feb 9, 2026
Merged

Merge change allowing parameters files to be handled properly.#1764
Jtango18 merged 1 commit intomainfrom
jt-allow-bicep-paramaters-files

Conversation

@Jtango18
Copy link
Contributor

@Jtango18 Jtango18 commented Feb 9, 2026

⚠️ Does this change require a corresponding Server Change?
⚠️ If so - please add a "Requires Server Change" label to this PR!

Makes changes (originally authored by @denys-octopus ) to allow handling of Parameters files for Bicep templates to be handled in a way that is consistent with the Step Package Framework implementation it is replacing.

Copy link

@denys-octopus denys-octopus left a comment

Choose a reason for hiding this comment

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

👍

? templateService.GetSubstitutedTemplateContent(templateParametersFile, filesInPackageOrRepository, context.Variables)
: null;

var parameters = templateService.GetSubstitutedTemplateContent("parameters.json", inPackage: false, context.Variables);

Choose a reason for hiding this comment

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

This is the key change: Bicep template step doesn't support parameters sourced from package or Git repository.

Copy link
Contributor

@zentron zentron left a comment

Choose a reason for hiding this comment

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

Just so I understand,
in SPF the parameters files cannot come from a package, so this change ensures that behaviour.
Any reason it shouldnt be extended to support this behaviour for consistency?

@Jtango18
Copy link
Contributor Author

Jtango18 commented Feb 9, 2026

@zentron it probably should, but we will need to resolve a larger Package source issue first.

@Jtango18 Jtango18 merged commit 5539d2d into main Feb 9, 2026
33 checks passed
@Jtango18 Jtango18 deleted the jt-allow-bicep-paramaters-files branch February 9, 2026 23:54
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.

3 participants