Assumptions:
- Demo environment does not have pipelines and is meant to be run locally.
- Demo environment does not have diagnostics enabled.
- Demo environment does not have RBAC model.
- All resources are provisioned in the same subscription.
After completing the steps from the general configuration readme, you can start using the demo deployment:
You can then specify the environment you are running:
export environment=demo
export caf_environment=contoso-demo
rover -lz /tf/caf/landingzones/caf_launchpad \
-launchpad \
-var-folder /tf/caf/configuration/${environment}/level0/launchpad \
-parallelism 30 \
-level level0 \
-env ${caf_environment} \
-a [plan|apply|destroy]
rover test \
-b /tf/caf/configuration/${environment}/tests \
-tfstate caf_launchpad.tfstate \
-level level0 \
-env ${caf_environment} \
-log-severity FATAL
In this section we use foundations as passthrough:
rover -lz /tf/caf/landingzones/caf_solution/ \
-tfstate caf_foundations.tfstate \
-var-folder /tf/caf/configuration/${environment}/level1 \
-parallelism 30 \
-level level1 \
-env ${caf_environment} \
-a [plan|apply|destroy]
rover test \
-b /tf/caf/configuration/${environment}/tests \
-tfstate caf_foundations.tfstate \
-level level1 \
-env ${caf_environment}
rover -lz /tf/caf/landingzones/caf_solution/ \
-tfstate caf_shared_services.tfstate \
-var-folder /tf/caf/configuration/${environment}/level2/shared_services \
-parallelism 30 \
-level level2 \
-env ${caf_environment} \
-a [plan|apply|destroy]
rover test \
-b /tf/caf/configuration/${environment}/tests \
-tfstate caf_shared_services.tfstate\
-level level2 \
-stack sharedsvc \
-env ${caf_environment}
rover -lz /tf/caf/landingzones/caf_solution/ \
-tfstate networking_hub.tfstate \
-var-folder /tf/caf/configuration/${environment}/level2/networking/hub \
-parallelism 30 \
-level level2 \
-env ${caf_environment} \
-a [plan|apply|destroy]
rover test \
-b /tf/caf/configuration/${environment}/tests \
-tfstate networking_hub.tfstate \
-level level2 \
-stack networking \
-env ${caf_environment}
rover -lz /tf/caf/landingzones/caf_solution/ \
-tfstate landing_zone_aks.tfstate \
-var-folder /tf/caf/configuration/${environment}/level3/aks \
-parallelism 30 \
-level level3 \
-env ${caf_environment} \
-a [plan|apply|destroy]
rover test \
-b /tf/caf/configuration/${environment}/tests \
-tfstate landing_zone_aks.tfstate \
-level level3 \
-stack aks \
-env ${caf_environment}
rover -lz /tf/caf/landingzones/caf_solution/ \
-tfstate landing_zone_101_aml_workspace.tfstate \
-var-folder /tf/caf/configuration/${environment}/level3/data_analytics/101-aml-workspace \
-parallelism 30 \
-level level3 \
-env ${caf_environment} \
-a [plan|apply|destroy]
rover test \
-b /tf/caf/configuration/${environment}/tests \
-tfstate landing_zone_101_aml_workspace.tfstate \
-level level3 \
-stack amlworkspace \
-env ${caf_environment}
Warning: this is time consuming.
rover -lz /tf/caf/landingzones/caf_solution/ \
-tfstate landing_zone_ase.tfstate \
-var-folder /tf/caf/configuration/${environment}/level3/app_service \
-parallelism 30 \
-level level3 \
-env ${caf_environment} \
-a [plan|apply|destroy]
You can use level 4 landing zones to describe and deploy an application on top of an environment described in level 3 landing zones (App Service Environment, AKS, etc.). Keep on monitoring this repository as we will add examples related to this level.