microsoft / contosotraders-cloudtesting

The Contoso Traders app is a sample application showcasing Playwright, Azure Load Testing, Azure Chaos Studio.
https://cloudtesting.contosotraders.com
MIT License
159 stars 316 forks source link

conditional deployment of Jumpbox VM #326

Closed mithunshanbhag closed 1 year ago

mithunshanbhag commented 1 year ago

Change Description

Note: This is a part of a series of changes related to conditional deployment of private ACA endpoints.

  1. The jumpbox VM (and associated networking components) are only required to access the private/internal version of the carts API. Hence these too can be conditionally deployed.

  2. Created a variable DEPLOYPRIVATEENDPOINTS in the contosotraders-cloudtesting-variable-group AZD pipeline variable group. Essentially this is the AZD pipeline equivalent of the GitHub repository variable.

    image

  3. In bicep templates, the conditional expression operator ? : is only required when using reference() or list*() functions. Else can be removed. Source

Linked GitHub Issue

N/A

Checklist

Please check all options that are relevant.