Azure/caf-terraform-landingzones-accelerator

Deployment of sandpit level4 fails

pieterGitHub opened this issue · 5 comments

Describe the bug
The level4 deployment does not complete.

bash script stop and prompts for a value for var.aks_cluster_key :
var.aks_cluster_key
Enter a value:

Branch: starter

To Reproduce
Run bash script as per "/tf/caf/configuration/sandpit/level4/argocd/README.md" - Lines 31 to 36 (as below)

rover -lz /tf/caf/landingzones/caf_solution/add-ons/aks_applications/ \
  -tfstate ${application}1.tfstate \
  -var-folder /tf/caf/configuration/${environment}/level4/${application} \
  -var tags={application=\"${application}\"} \
  -level level4 \
  -a plan

Error:
script does not complete and prompts user to enter value for: var.aks_cluster_key

Expected behavior
bash script should not prompt for any parameters

Screenshots

  • none

Environment (please complete the following information):

  • OS: Windows
  • Rover Version: 1.0.1-2106.3012

Additional context

  • none

were you able to get level1 deployed successfully?

@kgibson-insight I was able to. Which blockers are you facing?

Logged an issue here

#91

Did you find the resolution to this issue as I also have encountered the same thing at level4

the readme prompts not only the rover command but also exporting the keys:

application="argocd"
# Landingzone key hosting the AKS cluster
landingzone_key="cluster_aks"
# Key of the cluster to deploy the application
cluster_key="cluster_re1"

rover -lz /tf/caf/landingzones/caf_solution/add-ons/aks_applications/ \
  -tfstate ${application}1.tfstate \
  -var-folder /tf/caf/reference_implementations/azure_kubernetes_services/applications/${application} \
  -var tags={application=\"${application}\"} \
  -level level4 \
  -a [plan|apply|destroy]

As per: https://github.com/Azure/caf-terraform-landingzones-starter/tree/starter/configuration/sandpit/level4/argocd