2.2 KiB
FAST release upgrading notes
This file only mentions changes that require changes to Terraform variables, or replace existing resources. "Soft" additions like new features or optional attributes are non-breaking and not considered here.
If the address of a resource has changed between FAST versions, we usually created a file in fast/stages/n-STAGENAME/moved/ which contains a number of moved blocks which can be copied to the n-stagename directory before executing terraform plan or terraform apply.
We do an effort at covering most stages, but don't typically cover multitenant and stage 3s as there's too much variance in use cases and potential configurations.
As usual, consider this a guideline with no guarantees. Migrations between FAST releases are actively discouraged for production, and mostly make sense only when developing or testing new features.
v44.0.0 and v45.0.0 deprecated several legacy stages, refer to those releases or branches for legacy upgrading instructions. Upgrades from legacy to current stages are not directly supported.
v52.0.0 moves creation of custom constraints to
module.organization-iam(frommodule.organization) in stage0-org-setup. Asmovedblock is not possible and supported for this change, manual state migration is required to avoid destroying existing constraints. This can be done executing this in stage0-org-setup:constraints=$(terraform state list | grep 'module.organization\[0\].google_org_policy_custom_constraint.constraint') for old in $constraints; do terraform state mv "$old" "${old/module.organization\[0\]/module.organization-iam\[0\]}" doneWarning: If you skip this step and run
terraform apply, Terraform will destroy the existing constraints. Because deleted custom constraints cannot be immediately recreated with the same name, the subsequent creation step will fail, breaking your deployment (refer to this documentation) for more information.