Migration to Stacks

Now that Stacks is (finally!) in open beta i’m looking into migrating my existing configuration to stacks.
What i have now is:

  • project per AWS account (prod,stg,dev)
  • seperate workspace per aws component (s3,networking,eks, etc) per region (prod-us-east-1-eks, prod-eu-west-2-eks, prod-us-east-1-networking, etc)
  • using tfe_outputs data resource to transfer values from one workspace to the other (vpc module output to eks, eks module output to rds for security group id, etc)

How is the migration process from workspaces to stacks is going to look?
Will i need to create new resources? Do i need to add a many moved blocks?

Migrating from Terraform workspaces to Stacks in open beta involves a few key steps:

  1. Project Structure: Stacks support multiple projects, so you can maintain your current structure with separate project for each AWS account (prod, stg, dev).
  2. Component and Region Separation: You’ll organize by Stacks instead of separate workspaces for each component and region, which may simplify cross-component data sharing and dependency management.

I meant more of how to migrate my existing terraform states to Stacks.