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

az deployment sub what-if does not identity bastion resource, but after merging the pull request the bastion resource got provisioned. #380

Closed
ehsaneskandariboc opened this issue Oct 27, 2024 · 2 comments

Comments

@ehsaneskandariboc
Copy link

Bicep version
Bicep CLI v0.30.23

Describe the bug
What-if does not identity bastion resource, but after merging the pull request the bastion resource got provisioned.
Link to the Log:
https://github.com/Build-On-Clolud-Inc/landing-zone-hub-platform/actions/runs/11541876151/job/32124402219

To Reproduce
Link to the source code:
https://github.com/Build-On-Clolud-Inc/landing-zone-hub-platform/tree/sbx

Link to the github action YAML:
https://github.com/Build-On-Clolud-Inc/landing-zone-hub-platform/blob/sbx/.github/workflows/bicep-sbx-pipeline.yml

Additional context
Link to Az deploy:
https://github.com/Build-On-Clolud-Inc/landing-zone-hub-platform/actions/runs/11541889179/job/32124432298

Link to the deployment on azure:
https://portal.azure.com/#@buildoncloud.ca/resource/subscriptions/7a79e189-21f1-4bbc-b88e-e8e95784d59f/resourceGroups/rg-sbx-landingzone-eastus-01/deployments

@jeskew
Copy link
Member

jeskew commented Nov 6, 2024

Duplicate of #157

The bastion module is not evaluated during what-if because runtime expressions are passed to it as parameters in main.bicep. This will be addressed by the fix for #157

@jeskew jeskew closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2024
@ehsaneskandariboc
Copy link
Author

Seriously? After near four years for the other issue!

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

No branches or pull requests

2 participants