Azure / aca-java-runtimes-workshop

Host the code and the documentation of the Azure Container Apps workshop for Java runtimes (Quarkus, Micronaut, Spring Boot)
https://aka.ms/java-runtimes
MIT License
19 stars 15 forks source link

Reuse the project name variable when appropriate #21

Closed agoncal closed 1 year ago

agoncal commented 1 year ago

Today we have several time the project name java-runtimes:

PROJECT="java-runtimes"
RESOURCE_GROUP="rg-${PROJECT}"
TAG="java-runtimes"
LOG_ANALYTICS_WORKSPACE="logs-java-runtimes"
CONTAINERAPPS_ENVIRONMENT="env-java-runtimes"

To keep it DRY, we should reuse the variable:

PROJECT="java-runtimes"
RESOURCE_GROUP="rg-${PROJECT}"
TAG="${PROJECT}"
LOG_ANALYTICS_WORKSPACE="logs-${PROJECT}"
CONTAINERAPPS_ENVIRONMENT="env-${PROJECT}"