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

Clarification on the Conditional Module Declaration in main.bicep #265

Open
VAN613 opened this issue Dec 25, 2024 · 0 comments
Open

Clarification on the Conditional Module Declaration in main.bicep #265

VAN613 opened this issue Dec 25, 2024 · 0 comments

Comments

@VAN613
Copy link

VAN613 commented Dec 25, 2024

I would like to clarify the following line in main.bicep:

module testvmSearchAccess './core/security/search-service-contributor.bicep' = {

Should it not be written as:

module testvmSearchAccess './core/security/search-service-contributor.bicep' = if (_networkIsolation && !_vnetReuse && _deployVM) {

I believe the conditional statement is necessary for proper deployment. Could you please confirm if this is correct? Thank you!

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

1 participant