Skip to content

Commit

Permalink
docs: reformat to hashicorp directory structure requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Oct 26, 2020
1 parent e4e4a16 commit 14ce27e
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 13 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Terraform Provider for [Pact Broker](https://github.com/pact-foundation/pact_bro

Example:
```hcl
terraform {
required_providers {
pact = {
source = "pactflow/pact"
version = "0.1.2"
}
}
}
variable "token" {
type = string
}
Expand Down Expand Up @@ -123,13 +132,13 @@ For either installation method, documentation about the provider specific config

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/provider_pact.html.markdown → docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

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

## Example Usage
The following examples show the basic usage of the resouproviderrce.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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.

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

## Example Usage
The following examples show the basic usage of the resource.
Expand Down
6 changes: 2 additions & 4 deletions docs/resource_token.html.markdown → docs/resources/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

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

**It is highly recommended that this resource only be used to import existing tokens, and not be used to update existing tokens**

_NOTE_: this is currently only supported for the Pactflow.io platform.

!> **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**

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

## Example Usage

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 14ce27e

Please sign in to comment.