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.

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

Successfully merging this pull request may close these issues.

2 participants