Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Deployment of sandpit level4 fails #83

Open
pieterGitHub opened this issue Jul 9, 2021 · 5 comments
Open

Deployment of sandpit level4 fails #83

pieterGitHub opened this issue Jul 9, 2021 · 5 comments

Comments

@pieterGitHub
Copy link

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
@kgibson-insight
Copy link

were you able to get level1 deployed successfully?

@daumie
Copy link

daumie commented Aug 6, 2021

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

@kgibson-insight
Copy link

Logged an issue here

#91

@henrydobson
Copy link

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

@arnaudlh
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants