Repository navigation
This patch release fixes three bugs in ./import, the command that rebuilds the local state/ folder for deployments that still exist in the cloud but whose state was lost.
Fixes
- AWS default route table now imports (
import). Terraform importsaws_default_route_tableby its VPC id, but./importpassed the route table id, so this step always failed withempty resultand the route table was left out of the imported state. Verified against real AWS deployments. - Removed the SSH key import that could never work (
import, AWS / Azure / GCP)../importgenerated a placeholder key and tried to import it astls_private_key, which the Terraform TLS provider does not support, so the step always failed. While trying, Terraform also echoed the generated private key to the console. The step is gone; the import now says plainly that the originalkey.pemcannot be recovered from the cloud and where to place a backed-up copy (state/<name>/key.pem). - Tests: new
src/tests/import.test.pypins both fixes (165 tests in total, all passing).
Upgrade
No migration needed.