-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
97 additions
and
65 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# safedns_zone Data Source | ||
|
||
This resource represents a SafeDNS zone | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "safedns_zone" "example-1" { | ||
name = "example.com" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name`: (Required) Name of zone e.g. `example.com` | ||
* `description`: Description for zone |
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,20 @@ | ||
# SafeDNS Provider | ||
|
||
Official UKFast SafeDNS Terraform provider, allowing for manipulation of SafeDNS | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
provider "safedns" { | ||
api_key = "abc" | ||
} | ||
resource "safedns_zone" "zone-1" { | ||
name = "example.com" | ||
description = "example zone" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `api_key`: UKFast API key - read/write permissions for `safedns` service required. If omitted, will use `UKF_API_KEY` environment variable value |
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,22 @@ | ||
# safedns_record Resource | ||
|
||
This resource is for managing SafeDNS records | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "safedns_record" "example-record-1" { | ||
name = "something.example.com" | ||
zone_name = "example.com" | ||
type = "A" | ||
content = "10.1.2.3" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name`: (Required) Name of record e.g. `something.example.com` | ||
* `zone_name`: (Required) Name of zone for record e.g. `example.com` | ||
* `type`: (Required) Type of record | ||
* `content`: (Required) Content for record | ||
* `priority`: Priority of record |
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,16 @@ | ||
# safedns_zone Resource | ||
|
||
This resource is for managing SafeDNS zones | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "safedns_zone" "example-1" { | ||
name = "example.com" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name`: (Required) Name of zone e.g. `example.com` | ||
* `description`: Description for zone |