Skip to content

docs: add generated import examples#21

Merged
jtian-oai merged 1 commit into
mainfrom
codex/terraform-import-examples
Jul 10, 2026
Merged

docs: add generated import examples#21
jtian-oai merged 1 commit into
mainfrom
codex/terraform-import-examples

Conversation

@jtian-oai

Copy link
Copy Markdown
Collaborator

Summary

  • Add generated import-by-string-id.tf examples for every importable resource.
  • Regenerate resource docs so each importable resource includes the corresponding Terraform import block.
  • Update the openai_project_group example role from member to the backend role ID role-api-project-member.

Why

Import formats were already implemented by the provider, but the generated docs only showed resource configuration. These examples make the supported composite import IDs discoverable and keep the project-group example aligned with the API's role ID contract.

Validation

  • Regenerated from project/terraform-generator.
  • terraform fmt -check -recursive examples
  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 run
  • go test ./...

@jtian-oai jtian-oai marked this pull request as ready for review July 10, 2026 17:37
@jtian-oai jtian-oai merged commit 7d3605d into main Jul 10, 2026
7 checks passed
@jtian-oai jtian-oai deleted the codex/terraform-import-examples branch July 10, 2026 19:32
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