-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We also now use https://github.com/hashicorp/terraform-plugin-docs as suggested by the Terraform documentation.
- Loading branch information
Showing
17 changed files
with
564 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,13 @@ repos: | |
hooks: | ||
- id: check-toml | ||
- id: end-of-file-fixer | ||
# Files in this directory are generated by | ||
# https://github.com/hashicorp/terraform-plugin-docs | ||
exclude: ^docs/ | ||
- id: trailing-whitespace | ||
# Files in this directory are generated by | ||
# https://github.com/hashicorp/terraform-plugin-docs | ||
exclude: ^docs/ | ||
- id: check-merge-conflict | ||
|
||
- repo: https://github.com/dnephin/pre-commit-golang | ||
|
@@ -25,6 +31,9 @@ repos: | |
hooks: | ||
- id: prettier | ||
types_or: [yaml, toml, markdown] | ||
# Files in this directory are generated by | ||
# https://github.com/hashicorp/terraform-plugin-docs | ||
exclude: ^docs/ | ||
additional_dependencies: | ||
- [email protected] | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,30 @@ | ||
# Data Source: domain | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gandi_domain Data Source - terraform-provider-gandi" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
Use this data source to get the ID of a domain for other resources. | ||
# gandi_domain (Data Source) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "gandi_domain" "my_domain" { | ||
name = "my.domain" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `name` - (Required) The FQDN of the domain. | ||
|
||
## Attribute Reference | ||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) The FQDN of the domain | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- **nameservers** (List of String) A list of nameservers for the domain | ||
|
||
|
||
- `id` - The ID of the domain. | ||
- `nameservers` - A list of nameservers for the domain. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
# Data Source: livedns_domain | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gandi_livedns_domain Data Source - terraform-provider-gandi" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
Use this data source to get the ID of a domain for other resources. | ||
# gandi_livedns_domain (Data Source) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "gandi_livedns_domain" "my_domain" { | ||
name = "my.domain" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `name` - (Required) The FQDN of the domain. | ||
|
||
## Attribute Reference | ||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) The FQDN of the domain | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
|
||
|
||
- `id` - The ID of the domain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gandi_livedns_domain_ns Data Source - terraform-provider-gandi" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# gandi_livedns_domain_ns (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) The FQDN of the domain | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- **nameservers** (List of String) A list of nameservers for the domain | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gandi_mailbox Data Source - terraform-provider-gandi" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# gandi_mailbox (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **domain** (String) Domain name | ||
- **mailbox_id** (String) Mailbox ID | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
# Resource: dnssec_key | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gandi_dnssec_key Resource - terraform-provider-gandi" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
The `dnssec_key` resource creates a DNSSEC key to a domain. | ||
# gandi_dnssec_key (Resource) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "gandi_dnssec_key" "my_key" { | ||
domain = "example.com" | ||
algorithm = 15 | ||
type = "ksk" | ||
public_key = "Z6eCbfmpYPYmOJ0PYKq8fKzxcP3K/xEBlF5omvO+UwY=" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `domain` - (Required) The domain to add the key to. | ||
- `name` - (Required) The algorithm used for the key. | ||
- `type` - (Required) "ksk" or "zsk". | ||
- `public_key` - (Required) The public key to use. | ||
|
||
## Attribute Reference | ||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
- `digest` - Digest of the added key. | ||
- `digest_type` - Type of digest. | ||
- `keytag` - The keytag assigned by the server. | ||
### Required | ||
|
||
## Import | ||
- **algorithm** (Number) DNSSEC algorithm type | ||
- **domain** (String) Domain name | ||
- **public_key** (String) DNSSEC public key | ||
- **type** (String) DNSSEC key type | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
|
||
Existing keys can be imported by running: | ||
|
||
`terraform import gandi_dnssec_key.my_key example.com/<id>`, where the key ID is a UUID that can be found through querying the [Gandi API](https://api.gandi.net/docs/domains/#get-v5-domain-domains-domain-dnskeys) |
Oops, something went wrong.