Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Latest commit

 

History

History
97 lines (72 loc) · 2.78 KB

File metadata and controls

97 lines (72 loc) · 2.78 KB

Cloud Adoption Framework landing zones for Terraform - Starter template

DEMO ENVIRONMENT

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.

Deploying demo environment

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

1. Launchpad-level0 landing zones

Deploy the launchpad

rover -lz /tf/caf/public/landingzones/caf_launchpad \
  -var-folder /tf/caf/configuration/${environment}/level0/launchpad \
  -parallelism 30 \
  -level level0 \
  -env ${environment} \
  -launchpad \
  -a [plan|apply|destroy]

2. Level 1 landing zones

Deploy foundations

In this section we use foundations as passthrough:

rover -lz /tf/caf/public/landingzones/caf_foundations/ \
  -var-folder /tf/caf/configuration/${environment}/level1 \
  -parallelism 30 \
  -level level1 \
  -env ${environment} \
  -a [plan|apply|destroy]

3. Level 2 landing zones

Deploy the shared services

rover -lz /tf/caf/public/landingzones/caf_shared_services/ \
  -tfstate caf_shared_services.tfstate \
  -var-folder /tf/caf/configuration/${environment}/level2/shared_services \
  -parallelism 30 \
  -level level2 \
  -env ${environment} \
  -a [plan|apply|destroy]

Deploy the networking hub (required to add parallel spoke projects)

rover -lz /tf/caf/public/landingzones/caf_networking/ \
  -tfstate networking_hub.tfstate \
  -var-folder /tf/caf/configuration/${environment}/level2/networking/hub \
  -parallelism 30 \
  -level level2 \
  -env ${environment} \
  -a [plan|apply|destroy]

4. Level 3 landing zones - Shared infrastructure platforms

Deploy the networking spoke

rover -lz /tf/caf/public/landingzones/caf_networking/ \
  -tfstate networking_spoke_ase.tfstate \
  -var-folder /tf/caf/configuration/${environment}/level3/networking/spoke \
  -parallelism 30 \
  -level level3 \
  -env ${environment} \
  -a [plan|apply|destroy]

Deploy the application platform landing zone

This is the deployment of application platform landing zone like AKS platform, the configuration files in the repo will show you an example of AKS cluster deployment on top the levels deployed previously.

7. Level 4 - Application infrastructure components

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.