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

Adds Terraform 1.5 import syntax #4790

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gavin-truework
Copy link

Terraform 1.5 and later supports importing resources in code, and it's nice to have the syntax in the documentation.

This adds a line to the existing import section that shows how to import each resource via the new import block.

For all resources that support imports, add documentation outlining the new import syntax.
Copy link
Contributor

github-actions bot commented Dec 17, 2024

changelog detected ✅

@jacobbednarz
Copy link
Member

thanks for the PR! unfortunately, the file you've edited is a generated artifact of the documentation process. to see how to make changes to the documentation, you're best to check out https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/contributing/registry-documentation.md

@gavin-truework
Copy link
Author

@jacobbednarz Got it, thank you for that link. I'll see if I can get that automation working.

@jacobbednarz
Copy link
Member

given v5 is just around the corner, i wouldn't stress too much about this. we can look to autogenerate it there if this is something we need to extend. given the current syntax still works, i'm also not too phased if this doesn't land right now since it's got full support in all versions.

Copy link
Contributor

github-actions bot commented Jan 4, 2025

Marking this pull request as stale due to 14 days of inactivity. This helps our maintainers find and focus on the active pull requests. If this pull request receives no comments in the next 7 days it will automatically be closed. Maintainers can also remove the lifecycle/stale label.
If this pull request was automatically closed and you feel this pull request should be reopened, we encourage creating a new pull request linking back to this one for added context. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants