Skip to content

Commit

Permalink
Remove warning with vendored modules
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed Dec 19, 2024
1 parent a4222ed commit 751ad1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ terraform-aks-cluster-destroy: terraform-aks-cluster-init

terraform-kubernetes-init: set-azure-account
rm -rf cluster/terraform_kubernetes/vendor/modules/aks
git clone --depth=1 --single-branch --branch ${TERRAFORM_MODULES_TAG} https://github.com/DFE-Digital/terraform-modules.git cluster/terraform_kubernetes/vendor/modules/aks
git -c advice.detachedHead=false clone --depth=1 --single-branch --branch ${TERRAFORM_MODULES_TAG} https://github.com/DFE-Digital/terraform-modules.git cluster/terraform_kubernetes/vendor/modules/aks

terraform -chdir=cluster/terraform_kubernetes init -reconfigure -upgrade \
-backend-config=resource_group_name=${RESOURCE_GROUP_NAME} \
Expand Down
2 changes: 1 addition & 1 deletion templates/new_service/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ terraform-init: composed-variables set-azure-account
$(if ${DOCKER_IMAGE_TAG}, , $(eval DOCKER_IMAGE_TAG=main))

rm -rf terraform/application/vendor/modules/aks
git clone --depth=1 --single-branch --branch ${TERRAFORM_MODULES_TAG} https://github.com/DFE-Digital/terraform-modules.git terraform/application/vendor/modules/aks
git -c advice.detachedHead=false clone --depth=1 --single-branch --branch ${TERRAFORM_MODULES_TAG} https://github.com/DFE-Digital/terraform-modules.git terraform/application/vendor/modules/aks

terraform -chdir=terraform/application init -upgrade -reconfigure \
-backend-config=resource_group_name=${RESOURCE_GROUP_NAME} \
Expand Down

0 comments on commit 751ad1f

Please sign in to comment.