Skip to content

Commit 14ce27e

Browse files
committed
docs: reformat to hashicorp directory structure requirements
1 parent e4e4a16 commit 14ce27e

File tree

8 files changed

+20
-13
lines changed

8 files changed

+20
-13
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ Terraform Provider for [Pact Broker](https://github.com/pact-foundation/pact_bro
1616

1717
Example:
1818
```hcl
19+
terraform {
20+
required_providers {
21+
pact = {
22+
source = "pactflow/pact"
23+
version = "0.1.2"
24+
}
25+
}
26+
}
27+
1928
variable "token" {
2029
type = string
2130
}
@@ -123,13 +132,13 @@ For either installation method, documentation about the provider specific config
123132

124133
| Plugin | Type | Platform Support | Description |
125134
| ----------- | -------- | ---------------------- | ----------- |
126-
| [Pact](docs/provider_pact.html.markdown) | Provider | Pact Broker + Pactflow | Configures a target Pact Broker (such as a pactflow.io account) |
127-
| [Pacticipant](docs/resource_pacticipant.html.markdown) | Resource | Pact Broker + Pactflow | Create applications (known as Pacticipants) |
128-
| [Webhook](docs/resource_webhook.html.markdown) | Resource | Pact Broker + Pactflow | Configures a webhook to trigger on certain platform events |
129-
| [Secret](docs/resource_secret.html.markdown) | Resource | Pactflow | Create an encrypted secret for use in Webhooks |
130-
| [API Token](docs/resource_token.html.markdown) | Resource | Pactflow | Manage Pactflow API Tokens |
131-
| [Users](docs/resource_user.html.markdown) | Resource | Pactflow | Manage Pactflow Users |
132-
| [Roles](docs/resource_role.html.markdown) | Resource | Pactflow | Manage Pactflow Roles |
135+
| [Pact](docs/index.md) | Provider | Pact Broker + Pactflow | Configures a target Pact Broker (such as a pactflow.io account) |
136+
| [Pacticipant](docs/resources/pacticipant.md) | Resource | Pact Broker + Pactflow | Create applications (known as Pacticipants) |
137+
| [Webhook](docs/resources/webhook.md) | Resource | Pact Broker + Pactflow | Configures a webhook to trigger on certain platform events |
138+
| [Secret](docs/resources/secret.md) | Resource | Pactflow | Create an encrypted secret for use in Webhooks |
139+
| [API Token](docs/resources/token.md) | Resource | Pactflow | Manage Pactflow API Tokens |
140+
| [Users](docs/resources/user.md) | Resource | Pactflow | Manage Pactflow Users |
141+
| [Roles](docs/resources/role.md) | Resource | Pactflow | Manage Pactflow Roles |
133142

134143
See our [Docs](./docs) folder for all plugins.
135144

docs/provider_pact.html.markdown renamed to docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pact Broker Provider sets up a connection to a hosted Broker.
44

5-
_NOTE_: We currently support both the Open Source Pact Broker and our Pactflow.io platform.
5+
-> We currently support both the Open Source Pact Broker and our Pactflow.io platform.
66

77
## Example Usage
88
The following examples show the basic usage of the resouproviderrce.
File renamed without changes.

docs/resource_secret.html.markdown renamed to docs/resources/secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This resource manages the lifecycle of a _Secret_. A Secret is an application that may perform the role of a consumer or a provider in the Pact ecosystem.
44

5-
_NOTE_: this is currently only supported for the Pactflow.io platform.
5+
-> this is currently only supported for the Pactflow.io platform.
66

77
## Example Usage
88
The following examples show the basic usage of the resource.

docs/resource_token.html.markdown renamed to docs/resources/token.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
This resource manages the lifecycle of an _API Token_. A Token can be used to make API calls to the Pactflow platform.
44

5-
**It is highly recommended that this resource only be used to import existing tokens, and not be used to update existing tokens**
6-
7-
_NOTE_: this is currently only supported for the Pactflow.io platform.
8-
5+
!> **It is highly recommended that this resource only be used to import existing tokens, and not be used to update existing tokens - you are likely to end up locking yourself out this way**
96

7+
-> this is currently only supported for the Pactflow.io platform.
108

119
## Example Usage
1210

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)