Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#97] Introduce migration strategy for Terraform resource renaming
This commit introduces a strategic approach to renaming Terraform resources within our AWS infrastructure, moving from the legacy codename "VVA" to the new project identifier "GovTool". The migration is orchestrated through the addition of two new Terraform files: `vva_to_govtool_migration_20240212.tf` in both the main Terraform directory and within the `govtool-ec2` module. These files serve as a temporary mechanism to facilitate a seamless transition of resource and module names across the infrastructure. Key Highlights: - The migration files outline a series of `moved` directives, explicitly mapping old resource and module identifiers to their new names. This approach ensures Terraform can manage the renaming process efficiently, minimizing the risk of resource duplication or loss. - The migration is carefully planned to ensure no disruption to the ongoing operations, preserving the state of resources and their configurations throughout the process. - A note within each migration file indicates their temporary nature, with instructions to remove these files once all stakeholders have successfully applied the migration. This step is crucial to prevent clutter in the Terraform codebase and maintain the integrity of the infrastructure as code practices. The migration files should be removed before project goes open source. This renaming initiative is a critical component of our broader rebranding efforts, reflecting the project's evolution and aligning our infrastructure with the new brand identity.
- Loading branch information