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] Incorrect generation of resource ID for tenant scoped deployments #3237

Closed
BernieWhite opened this issue Feb 1, 2025 · 0 comments · Fixed by #3249
Closed

[BUG] Incorrect generation of resource ID for tenant scoped deployments #3237

BernieWhite opened this issue Feb 1, 2025 · 0 comments · Fixed by #3249
Assignees
Labels
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

When deployments occur within the tenant scope the resource ID of the deployment contains an additional slash that prevents the deployment from being references correctly.

This negatively affects the ability to reference a deployment for outputs, and instead null is returned.

Error messages

No response

Reproduction

Originally reported as: microsoft/PSRule#2739

Version of PSRule

2.9.0

Version of PSRule for Azure

1.41.0

Additional context

No response

@BernieWhite BernieWhite added the feature: pre-flight-expansion Issues relating to expansion of ARM and Bicep. label Feb 1, 2025
@BernieWhite BernieWhite added this to the v1.41.1 milestone Feb 1, 2025
@BernieWhite BernieWhite self-assigned this Feb 1, 2025
BernieWhite added a commit to BernieWhite/PSRule.Rules.Azure that referenced this issue Feb 7, 2025
This was referenced Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: pre-flight-expansion Issues relating to expansion of ARM and Bicep.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant