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

Update Terraform to 0.15.x #1613

Closed
11 of 12 tasks
github-actions bot opened this issue Jun 25, 2023 · 1 comment
Closed
11 of 12 tasks

Update Terraform to 0.15.x #1613

github-actions bot opened this issue Jun 25, 2023 · 1 comment
Assignees
Milestone

Comments

@github-actions
Copy link

github-actions bot commented Jun 25, 2023

The puzzle 1268-64454c39 from #1268 has to be resolved:

# @todo #1268 Update Terraform to 0.15.x

Tech debt for: adfb6ef (#1268)


TODO:

Upgrade instructions:

0.13
	terraform plan
	terraform apply
0.14
	<update versions>
	export HTTPS_PROXY=socks5://127.0.0.1:1122 # optionally
	tfenv install
	terraform init -upgrade
	terraform providers lock -platform=darwin_amd64 -platform=linux_amd64
	git add .terraform.lock.hcl
	terraform plan <...>
	terraform apply <...>
        encrypt tfstate && commit
        tfenv uninstall 0.13.7
0.15
       cd infra/terraform
       vim .terraform-version
       vim versions.tf
	export HTTPS_PROXY=socks5://127.0.0.1:1122 # optionally
	tfenv install
        tfenv list
        tfenv uninstall 0.14.11
	terraform init
        terraform plan -var-file terraform-data/terraform.tfvars -state terraform-data/terraform.tfstate -out terraform-data/terraform.tfplan
        terraform apply -state terraform-data/terraform.tfstate terraform-data/terraform.tfplan
        docker run -e VAULT_PASSWORD="$(cat ../../src/main/scripts/ci/ansible/ci-pass.txt)" -v "$PWD/terraform-data:/data/mystamps" -w /data/mystamps --rm -it ansible:2.10.17
        ansible-vault encrypt --vault-password-file vault-pass.txt --output terraform.tfstate.enc terraform.tfstate
        <exit shell>
@php-coder php-coder added the kind/dependency-update Update one of dependencies label Jun 25, 2023
@php-coder php-coder added this to the 0.4.8 milestone Jul 27, 2023
@php-coder
Copy link
Owner

This requires update to 0.14 as well. See also: #1268

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

No branches or pull requests

1 participant