If we had something similar in cdktf, it would allow importing resources across stacks much more easily than the method the documentation has you use by instead using something like removed and importFrom on the cdktf objects.
References
No response
Help Wanted
[ ] I'm interested in contributing a fix myself
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
HCL supports
removed
blocks which allow you to orphan a resource managed by tf easily: https://developer.hashicorp.com/terraform/language/resources/syntax#removing-resourcesIf we had something similar in cdktf, it would allow importing resources across stacks much more easily than the method the documentation has you use by instead using something like
removed
andimportFrom
on the cdktf objects.References
No response
Help Wanted
Community Note