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

Refactor of outputs to simplify bicep deployments #123

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

abatallas
Copy link
Contributor

Removed redundant fields from the outputs section of the UI definition file to allow for easier bicep deployments for our DevOps and govcloud users. Also cleaned up some things in the UI to align with the reality of outputs (i.e., collecting excess information that would go unused).

@@ -327,13 +322,18 @@ resource ccwVirtualNetwork 'Microsoft.Network/virtualNetworks@2023-11-01' = {
}
}

var peeringEnabled = contains(network,'vnetToPeer')
var peeredVnetId = network.?vnetToPeer.?id ?? 'q/w/e/r/t/y/u/i/o'

Choose a reason for hiding this comment

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

@@ -78,13 +78,15 @@ var subnets = create_new_vnet
additional: { id: join([network.?id, 'subnets', network.?additionalFilerSubnet ?? 'null'], '/') }
}

var existingNetworkId = network.?id ?? 'q/w/e/r/t/y/u/i/o'

Choose a reason for hiding this comment

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

@@ -413,9 +413,10 @@ var subnets = union(
create_database ? { database: subnet_database } : {}
)

var dbID = databaseConfig.?dbId ?? 'q/w/e/r/t/y/u/i/o'

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants