Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: terraform reads humctl now #3

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions 0_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ fi
kubeconfig_docker=/state/kube/config-internal.yaml
kind export kubeconfig --internal -n 5min-idp --kubeconfig "$kubeconfig_docker"

humctl_token=$(yq .token /root/.humctl)

export HUMANITEC_TOKEN=$humctl_token
export TF_VAR_humanitec_org=$HUMANITEC_ORG
export TF_VAR_kubeconfig=$kubeconfig_docker

Expand Down
2 changes: 0 additions & 2 deletions 2_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ if [ "$(docker inspect -f='{{json .NetworkSettings.Networks.kind}}' "${container
docker network connect "kind" "${container_name}"
fi

humctl_token=$(yq .token /root/.humctl)
kubeconfig_docker=/state/kube/config-internal.yaml

export HUMANITEC_TOKEN=$humctl_token
export TF_VAR_humanitec_org=$HUMANITEC_ORG
export TF_VAR_kubeconfig=$kubeconfig_docker

Expand Down
2 changes: 1 addition & 1 deletion setup/terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
}
humanitec = {
source = "humanitec/humanitec"
version = "~> 1.3"
version = "~> 1.6"
}
random = {
source = "hashicorp/random"
Expand Down