CaioCavalcanti/azure-cost-reporting

Show the different environments on the architecture diagram

Opened this issue · 1 comments

Problem:
On the first session we have created the high level architecture using diagram as code, but we want to deploy this application in multiple environments to reproduce a real case scenario where we run automated tests on the CI/CD pipelines.

Change the diagram so we can show the different environments, with the following rules:

  • We have 3 environments (test, acceptance and production) with the prefixes tst, acc and prd
  • The CI pipeline should run automated tests in test environment
  • The CD pipeline should:
    • Deploy to acceptance
    • Run automated tests in acceptance
    • Deploy to production
    • Run smoke tests in production
  • The Azure Container Registry (ACR) is shared between environments

Created a new pull request. Currently , diagram only changes based on test and prod environment.