tung
January 16, 2021, 2:56am
1
How would you handle terraform imports with Terraspace? Or would you just handle it the normal way?
For example, TS_ENV=dev terraform import <resource> <physical resource key>
tung
January 16, 2021, 2:59am
2
Terraspace does not support the import command yet. You can do this though:
terraspace build demo
cd .terraspace-cache/us-west-2/dev/stacks/demo
terraform terraform import
Somewhat relevant:
opened 06:14AM - 10 Oct 20 UTC
Summary
I would like to manually remove an item from the state. I can do this via terraform state rm ...., but...
enhancement
help wanted
Also covered here:
1 Like
tung
September 25, 2022, 3:03am
3
The terraspace import
command was added by this PR
boltops-tools:master
← boltops-tools:import
opened 07:58PM - 08 Sep 22 UTC
This is a 🙋♂️ feature or enhancement.
- [ ] I've added tests (if it's a bug,… feature or enhancement)
- [ ] I've adjusted the documentation (if it's a feature or enhancement)
- [x] The test suite passes (run `bundle exec rspec` to verify this)
## Summary
Implement command
terraspace import
## Context
Closes #246
## How to Test
Check out the help commands and run terraspace import
terraspace import -h
terraspace import aws_instance.this i-088a0a47e2e852cc8
CLI Reference: https://terraspace.cloud/reference/terraspace-import/
## Version Changes
Patch
1 Like