Azure / AKS-Landing-Zone-Accelerator

Official repository for the AKS Landing Zone Accelerator program
MIT License
216 stars 209 forks source link

Use -input=false in terraform github workflows / missing `location` input #7

Closed defenestration closed 1 year ago

defenestration commented 2 years ago

the deployInfrastructure.yml seems to be missing this flag and Scenarios/Secure-Baseline/Terraform/04-Network-Hub seems to require a location in put that is not given so terraform prompts for input in the github action.

https://learn.hashicorp.com/tutorials/terraform/automate-terraform#automated-terraform-cli-workflow

I was following this file for reference https://github.com/Azure/AKS-Landing-Zone-Accelerator/blob/main/Scenarios/Secure-Baseline/Terraform/workflows/README.md#create-storage-account-for-terraform-state-files

defenestration commented 2 years ago

some other terraform variables missing from that deployInfrastructure.yaml

TF_VAR_prefix
TF_VAR_container_name
mosabami commented 2 years ago

@defenestration apologies for the late response to this. I believe this issue has been fixed now with #19 . let me know if you still run into issues.