-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed3e815
commit ea6ac54
Showing
4 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ version: '3' | |
|
||
includes: | ||
vpn: "network/vpn/Taskfile.yml" | ||
k8s: "kubernetes/Taskfile.yml" | ||
|
||
tasks: | ||
help: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
version: 3 | ||
|
||
tasks: | ||
provision_administration: | ||
generate_tf_variables: | ||
dir: kubernetes | ||
cmds: | ||
- | ||
- | | ||
echo "Generating terraform.tfvars from .env file..." | ||
if [ -f .env ]; then | ||
awk -F= '/^[^#]+/ {print $1 " = \"" $2 "\""}' .env > terraform/terraform.tfvars | ||
else | ||
echo "No .env file found. Skipping terraform.tfvars generation." | ||
fi | ||
silent: true | ||
sources: | ||
- .env | ||
|
||
provision_administration_cluster: | ||
dir: kubernetes | ||
cmds: | ||
- task: generate_tf_variables | ||
- make tf_run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters