-
Notifications
You must be signed in to change notification settings - Fork 708
Setup Launchpad
GlennChia edited this page Jul 7, 2021
·
1 revision
The caf-terraform-landingzones repo provides instructions on how to deploy a sample landing zone such as the caf_launchpad
and caf_solution
. For development, the caf_launchpad
is sufficient. Instructions to deploy the launchpad are also shown below. For the most updated instructions, please refer to Getting started with launchpad.
- First clone the repo. Link to the caf-terraform-landingzones repo
- Re-open the cloned repository in the
.devcontainer
. This assumes that you have completed the required installs - In the terminal that has path
/tf/caf/
, login to rover withrover login
. Follow the instructions as shown in the prompt. This requires you to enter a code that is shown on a page that can be accessed via a provided link. - Once successfully logged in, run the following command to deploy the launchpad:
rover -lz /tf/caf/caf_launchpad \ -launchpad \ -var-folder /tf/caf/caf_launchpad/scenario/100 \ -parallelism=30 \ -a apply
- If successfully deployed, you will see
Apply complete! Resources: <some number> added, 0 changed, 0 destroyed
Rover apply command not working
Error message:
Failed to get existing workspaces: containers.Client#ListBlobs: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthenticationFailed" Message="Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Fix:
This issue is caused by a time drift between Windows and the Docker container. Run sudo hwclock -s
and then try the apply command again.