Skip to content

Commit

Permalink
manage DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonsnir committed May 10, 2024
1 parent e745c6b commit 7da3c1c
Show file tree
Hide file tree
Showing 21 changed files with 1,182 additions and 28 deletions.
4 changes: 3 additions & 1 deletion UPDATING_SWAGGER_YML.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ This project uses a modified swagger.yml. Please maintain these instructions and

1. Take the latest swagger.yml from [netlify/open-api](https:/netlify/open-api/blob/master/swagger.yml).
1. Remove the billing_details property from the `accountMembership` object.
1. Change the response schema of `operation: getAccount` from an array to a single item.
1. Change the response schema of `operation: getAccount` from an array to a single item.
1. Change the `domain` property in the `dnsZone` object from `type: string` to `$ref: '#/definitions/domain'`.
1. Find the definition of the object `domain` in a previous version of the swagger.yml and include the definition in the latest swagger.yml.
34 changes: 34 additions & 0 deletions docs/resources/dns_a_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_a_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_a_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_aaaa_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_aaaa_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_aaaa_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_alias_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_alias_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_alias_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_caa_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_caa_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_caa_record (Resource)





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

### Required

- `flag` (Number)
- `hostname` (String)
- `tag` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
34 changes: 34 additions & 0 deletions docs/resources/dns_cname_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_cname_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_cname_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_mx_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_mx_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_mx_record (Resource)





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

### Required

- `hostname` (String)
- `priority` (Number)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_ns_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_ns_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_ns_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_spf_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_spf_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_spf_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
34 changes: 34 additions & 0 deletions docs/resources/dns_txt_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_txt_record Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_txt_record (Resource)





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

### Required

- `hostname` (String)
- `value` (String)
- `zone_id` (String)

### Optional

- `ttl` (Number)

### Read-Only

- `flag` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `priority` (Number)
- `tag` (String)
40 changes: 40 additions & 0 deletions docs/resources/dns_zone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# generated by https:/hashicorp/terraform-plugin-docs
page_title: "netlify_dns_zone Resource - netlify"
subcategory: ""
description: |-
---

# netlify_dns_zone (Resource)





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

### Required

- `account_slug` (String)
- `name` (String)

### Read-Only

- `account_id` (String)
- `dns_servers` (List of String)
- `domain` (Block, Read-only) (see [below for nested schema](#nestedblock--domain))
- `id` (String) The ID of this resource.
- `last_updated` (String)

<a id="nestedblock--domain"></a>
### Nested Schema for `domain`

Read-Only:

- `auto_renew` (Boolean)
- `auto_renew_at` (String)
- `expires_at` (String)
- `registered_at` (String)
- `renewal_price` (String)
Loading

0 comments on commit 7da3c1c

Please sign in to comment.