Skip to content

Commit

Permalink
docs: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Zeißner committed Sep 17, 2021
1 parent 0815397 commit 3ce5af8
Show file tree
Hide file tree
Showing 13 changed files with 229 additions and 243 deletions.
38 changes: 0 additions & 38 deletions docs/data-sources/dns_record.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/data-sources/dns_records.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/data-sources/dns_zone.md

This file was deleted.

35 changes: 0 additions & 35 deletions docs/data-sources/dns_zones.md

This file was deleted.

36 changes: 36 additions & 0 deletions docs/data-sources/pinto_dns_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "pinto_dns_record Data Source - terraform-provider-project-pinto"
subcategory: ""
description: |-
---

# pinto_dns_record (Data Source)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **name** (String)
- **type** (String)
- **zone** (String)

### Optional

- **pinto_environment** (String)
- **pinto_provider** (String)

### Read-Only

- **class** (String)
- **data** (String)
- **id** (String) The ID of this resource.
- **ttl** (Number)


46 changes: 46 additions & 0 deletions docs/data-sources/pinto_dns_records.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "pinto_dns_records Data Source - terraform-provider-project-pinto"
subcategory: ""
description: |-
---

# pinto_dns_records (Data Source)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **zone** (String)

### Optional

- **name** (String)
- **pinto_environment** (String)
- **pinto_provider** (String)
- **record_type** (String)

### Read-Only

- **id** (String) The ID of this resource.
- **records** (List of Object) (see [below for nested schema](#nestedatt--records))

<a id="nestedatt--records"></a>
### Nested Schema for `records`

Read-Only:

- **class** (String)
- **data** (String)
- **id** (String)
- **name** (String)
- **ttl** (Number)
- **type** (String)


31 changes: 31 additions & 0 deletions docs/data-sources/pinto_dns_zone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "pinto_dns_zone Data Source - terraform-provider-project-pinto"
subcategory: ""
description: |-
---

# pinto_dns_zone (Data Source)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **name** (String)

### Optional

- **pinto_environment** (String)
- **pinto_provider** (String)

### Read-Only

- **id** (String) The ID of this resource.


36 changes: 36 additions & 0 deletions docs/data-sources/pinto_dns_zones.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "pinto_dns_zones Data Source - terraform-provider-project-pinto"
subcategory: ""
description: |-
---

# pinto_dns_zones (Data Source)





<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- **pinto_environment** (String)
- **pinto_provider** (String)

### Read-Only

- **id** (String) The ID of this resource.
- **zones** (List of Object) (see [below for nested schema](#nestedatt--zones))

<a id="nestedatt--zones"></a>
### Nested Schema for `zones`

Read-Only:

- **id** (String)
- **name** (String)


44 changes: 19 additions & 25 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
---
page_title: "Project Pinto Provider"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "project-pinto Provider"
subcategory: ""
description: |-
Terraform provider for interacting with Pinto API.
---

# Project Pinto Provider
# project-pinto Provider

The Project Pinto Provider can be used to interact with [Pinto](https://pinto.irgendwo.co/api/dns/swagger/index.html).

## Example Usage

Do not keep your authentication password in HCL for production environments, use Terraform environment variables.

```terraform
provider "pinto" {
base_url = "https://pinto.irgendwo.co"
token_url = "https://auth.pinto.irgendwo.co/connect/token"
client_id = "client"
client_secret = "test123"
client_scope = "openapigateway,nexus"
}
```

## Argument Reference
<!-- schema generated by tfplugindocs -->
## Schema

The following arguments are supported:
### Required

- `base_url` - (String, Required) Overwrite the base-url of Pinto
- `client_id` - (String, Optional) Client ID for client-credentials authentication (either this or API Key has to be set)
- `client_secret` - (String, Optional) Client Secret for client-credentials authentication
- `client_scope` - (String, Optional) Has to be "openapigateway,nexus"
- `pinto_provider` - (String, Optional) Provider that pinto will use to store DNS entries
- `pinto_environment` - (String, Optional) Environment at the provider that will be used to sore DNS entries
- `api_key` - (String, Optional) API-Key to interact with Pinto (either this or client-credentials has to be set)
- `token_url` - (String, Optional) Overrite token-url for authentication
- **base_url** (String)
- **credentials_id** (String)

### Optional

- **api_key** (String)
- **client_id** (String)
- **client_scope** (String)
- **client_secret** (String, Sensitive)
- **pinto_environment** (String)
- **pinto_provider** (String)
- **token_url** (String)
Loading

0 comments on commit 3ce5af8

Please sign in to comment.