powerful-scooter-95162
12/27/2023, 4:36 AMcareful-address-89803
12/31/2023, 4:07 PMhelm_release
resource for that application that you update to use version 1.2.3)
2. You want to change something in the terraform, but don't want to publish a new docker container.
I don't think pants has a builtin way to do item 1. terraform support is still experimental. You can add a terraform_deployment
to deploy terraform, but there isn't currently a way to have Pants publish
a docker container before deploying a terraform_deployment
. This feature has been requested before, and I think the helm backend can do this; it's In The Future.
At my work, we've got a few scripts to tie things like this together. If I've got your workflow right, I think you could do scenario 1 with a script that uses bump2version
to also upgrade the version referenced in terraform, then pants publish
, and then pants experimental-deploy
(or just terraform
itself)powerful-scooter-95162
01/01/2024, 9:50 PMcareful-address-89803
01/03/2024, 3:49 AMpowerful-scooter-95162
01/03/2024, 3:50 AMcareful-address-89803
01/03/2024, 3:58 AMpowerful-scooter-95162
01/03/2024, 3:58 AMcareful-address-89803
01/03/2024, 4:04 AMpowerful-scooter-95162
01/03/2024, 4:05 AMpowerful-scooter-95162
01/03/2024, 6:52 AM