Commit 477d1db
committed
docs: per-resource examples, service subcategories, and auth/migration guides
- examples/: a self-contained, terraform-fmt-clean Terraform example for every
resource (25) and data source (19), plus import.sh for importable resources.
tfplugindocs renders these as the "Example Usage" and "Import" sections.
- templates/resources.md.tmpl + data-sources.md.tmpl: derive a per-service
"subcategory" from the type name so the registry groups pages by Identity,
Images, Networking, Compute, and Block Storage.
- templates/guides/: an Authentication guide (password/token/app-cred, clouds.yaml,
TLS, endpoint overrides, precedence) and a Migrating-from-terraform-provider-
openstack guide (name mapping, behavioral notes, import workflow).
- gitignore docs/guides/ (rendered like the rest of docs/, produced by make generate).
Verified: terraform fmt -check on ./examples passes, make generate renders all
pages with Example Usage/Import + guides, build/gofmt clean.1 parent fc33893 commit 477d1db
75 files changed
Lines changed: 793 additions & 0 deletions
File tree
- examples
- data-sources
- pcd_blockstorage_snapshot
- pcd_blockstorage_volume
- pcd_compute_availability_zones
- pcd_compute_flavor
- pcd_compute_keypair
- pcd_identity_auth_scope
- pcd_identity_project
- pcd_identity_role
- pcd_identity_user
- pcd_images_image_ids
- pcd_images_image
- pcd_networking_floatingip
- pcd_networking_network
- pcd_networking_port_ids
- pcd_networking_port
- pcd_networking_router
- pcd_networking_secgroup
- pcd_networking_subnet_ids
- pcd_networking_subnet
- resources
- pcd_blockstorage_volume
- pcd_compute_flavor
- pcd_compute_instance
- pcd_compute_interface_attach
- pcd_compute_keypair
- pcd_compute_servergroup
- pcd_compute_volume_attach
- pcd_identity_application_credential
- pcd_identity_project
- pcd_identity_role_assignment
- pcd_identity_role
- pcd_identity_user
- pcd_images_image
- pcd_networking_floatingip_associate
- pcd_networking_floatingip
- pcd_networking_network
- pcd_networking_port_secgroup_associate
- pcd_networking_port
- pcd_networking_router_interface
- pcd_networking_router_route
- pcd_networking_router
- pcd_networking_secgroup_rule
- pcd_networking_secgroup
- pcd_networking_subnet_route
- pcd_networking_subnet
- templates
- guides
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments