Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert: Does not handle import and move blocks #3204

Closed
1 task
DanielMSchmidt opened this issue Oct 23, 2023 · 1 comment · Fixed by #3415
Closed
1 task

Convert: Does not handle import and move blocks #3204

DanielMSchmidt opened this issue Oct 23, 2023 · 1 comment · Fixed by #3415
Assignees
Labels
bug Something isn't working feature/convert priority/important-soon High priority, to be worked on as part of our current release or the following one.

Comments

@DanielMSchmidt
Copy link
Contributor

Expected Behavior

Move blocks and Import blocks should have related CDKTF code when run through convert

Actual Behavior

Nothing is generated for these, so they are ignored as in the import example: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/api_gateway_resource?lang=typescript

Steps to Reproduce

echo 'import {
  to = aws_api_gateway_resource.example
  id = "12345abcde/67890fghij"
}' > cdktf convert --provider="hashicorp/aws"

Should give some code

Versions

language: typescript
cdktf-cli: 0.19.0
node: v18.17.1
cdktf: null
constructs: null
jsii: null
terraform: 1.2.8
arch: x64
os: darwin 22.6.0

Providers

No response

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

No response

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
@DanielMSchmidt DanielMSchmidt added bug Something isn't working new Un-triaged issue labels Oct 23, 2023
@Maed223 Maed223 added priority/important-soon High priority, to be worked on as part of our current release or the following one. feature/convert and removed new Un-triaged issue labels Oct 31, 2023
@DanielMSchmidt DanielMSchmidt self-assigned this Jan 11, 2024
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature/convert priority/important-soon High priority, to be worked on as part of our current release or the following one.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants