Erik Osterman (Cloud Posse)
05/27/2026, 4:46 PMtfmigrate
https://github.com/cloudposse/atmos/pull/2534
Feedback welcome on this proposed enhancement to Atmos.
This does a few things
1. introduces a new atmos terraform migrate command that calls tfmigrate
2. supports lifecycle hooks, so these can run automatically
3. supports passing your already configured backend for terraform to tfmigrate for idempotent migration
Why? Ever run into errors like this because a provider was deleted from the state? Migrations can help with that.
Error: failed to read provider configuration schema for <http://registry.opentofu.org/cloudposse/template|registry.opentofu.org/cloudposse/template>: failed to instantiate provider "<http://registry.opentofu.org/cloudposse/template|registry.opentofu.org/cloudposse/template>" to obtain schema: unavailable provider "<http://registry.opentofu.org/cloudposse/template|registry.opentofu.org/cloudposse/template>"Erik Osterman (Cloud Posse)
05/27/2026, 5:17 PMErik Osterman (Cloud Posse)
05/27/2026, 5:18 PMJeremy White (Cloud Posse)
05/27/2026, 5:20 PMThomas Spear
05/27/2026, 6:40 PMRB
05/27/2026, 8:31 PMimport block with a for_each so we can import via atmos yamlAndriy Knysh (Cloud Posse)
05/28/2026, 3:17 PMimport blocks workAndriy Knysh (Cloud Posse)
05/28/2026, 3:18 PMimports , then define it in atmos stacks, then in terraform/tofu code check for the var and iterate in HCL