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

[BUG] Setting AZURE_PARAMETER_DEFAULTS in a non-default option file #3033

Closed
BernieWhite opened this issue Sep 3, 2024 · 0 comments · Fixed by #3039 or #3175
Closed

[BUG] Setting AZURE_PARAMETER_DEFAULTS in a non-default option file #3033

BernieWhite opened this issue Sep 3, 2024 · 0 comments · Fixed by #3039 or #3175
Assignees
Labels
bug Something isn't working feature: pre-flight-expansion Issues relating to expansion of ARM and Bicep.
Milestone

Comments

@BernieWhite
Copy link
Collaborator

Existing rule

No response

Description of the issue

Currently AZURE_PARAMETER_DEFAULTS is loaded only from a ps-rule.yaml found in the working path during expansion.

If the option file is overridden in the pipeline or manually to a different file is does not use this file.

This is not documented, confusing, and should be fixed.

Error messages

No response

Reproduction

Version of PSRule

2.9.0

Version of PSRule for Azure

1.38.0

Additional context

No response

@BernieWhite BernieWhite added bug Something isn't working feature: pre-flight-expansion Issues relating to expansion of ARM and Bicep. labels Sep 3, 2024
@BernieWhite BernieWhite self-assigned this Sep 15, 2024
@BernieWhite BernieWhite added this to the v1.39.0 milestone Sep 15, 2024
BernieWhite added a commit that referenced this issue Sep 15, 2024
)

* Fixed loading of expansion options from non-default options #2523

* Update change log
@BernieWhite BernieWhite mentioned this issue Oct 10, 2024
4 tasks
@BernieWhite BernieWhite reopened this Nov 11, 2024
@BernieWhite BernieWhite modified the milestones: v1.39.0, v1.40.0 Nov 11, 2024
BernieWhite added a commit to BernieWhite/PSRule.Rules.Azure that referenced this issue Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: pre-flight-expansion Issues relating to expansion of ARM and Bicep.
Projects
None yet
1 participant