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

Terraform import blocks are a little confusing #21

Closed
tcaddy opened this issue Jul 21, 2023 · 2 comments
Closed

Terraform import blocks are a little confusing #21

tcaddy opened this issue Jul 21, 2023 · 2 comments

Comments

@tcaddy
Copy link

tcaddy commented Jul 21, 2023

When I try to use the new import {} blocks in Terraform v1.5+, I get an error at TFC during the plan phase:

Expected http status 200, received: 404
image

It turns out that I have to use the integer id from the URL for a given resource at the redirect.pizza website as the id for the import block. I found this a little confusing so I'm putting it here for others to find.

@mbardelmeijer
Copy link
Member

mbardelmeijer commented Jul 24, 2023

Agreed that this can be improved in the documentation! I will add a segment to the README. 👍

@mbardelmeijer
Copy link
Member

Added with 272aa28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants