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 1.10 #1720

Open
14 of 31 tasks
php-coder opened this issue Dec 1, 2024 · 0 comments
Open
14 of 31 tasks

Update Terraform to 1.10 #1720

php-coder opened this issue Dec 1, 2024 · 0 comments
Assignees
Milestone

Comments

@php-coder
Copy link
Owner

php-coder commented Dec 1, 2024

Should be done after: #1613

TODO:


Upgrade instructions:

       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 <previous version>
	terraform init
        terraform plan -out terraform.tfplan
        terraform apply terraform.tfplan
        docker run -e VAULT_PASSWORD="$(cat ../../src/main/scripts/ci/ansible/ci-pass.txt)" -v "$PWD:/data/mystamps" -w /data/mystamps --rm -it ansible:2.10.17
        ansible-vault encrypt --vault-password-file vault-pass.txt --output terraform-data/terraform.tfstate.enc terraform.tfstate
        <exit shell>
        cd terraform-data
        git commit -a
        git push
        cd -
        git commit -a
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