lib/terraspace/cli/help/import.md in terraspace-2.2.1 vs lib/terraspace/cli/help/import.md in terraspace-2.2.2
- old
+ new
@@ -1,8 +1,8 @@
## Examples
- terraspace import aws_instance.this i-088a0a47e2e852cc8
- terraspace import module.vpc.aws_vpc.this vpc-000782e4951a734c7
+ terraspace import ec2 aws_instance.this i-088a0a47e2e852cc8
+ terraspace import vpc module.vpc.aws_vpc.this vpc-000782e4951a734c7
terraspace import vpc module.vpc.aws_vpc.this vpc-000782e4951a734c7
A general workflow is to use terraspace plan, inspect what resources, are missing and and import resources based on that. The `state list` command is also useful.
terraspace plan vpc