Skip to content

Commit

Permalink
fix: dns_servers no longer enforce specific order (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-te authored Apr 3, 2023
1 parent 7a3db27 commit d7e7723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/dns_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "thousandeyes_dns_server" "example_dns_server_test" {
### Required

- `agents` (Block Set, Min: 1) The list of ThousandEyes agents to use. (see [below for nested schema](#nestedblock--agents))
- `dns_servers` (Block List, Min: 1) The array of DNS Server objects (“serverName”: “fqdn of server”). (see [below for nested schema](#nestedblock--dns_servers))
- `dns_servers` (Block Set, Min: 1) The array of DNS Server objects (“serverName”: “fqdn of server”). (see [below for nested schema](#nestedblock--dns_servers))
- `domain` (String) See notes target record for test, suffixed by record type (ie, www.thousandeyes.com CNAME). If no record type is specified, the test will default to an ANY record.
- `interval` (Number) The interval to run the test on, in seconds.
- `test_name` (String) The name of the test.
Expand Down
2 changes: 1 addition & 1 deletion thousandeyes/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ var schemas = map[string]*schema.Schema{
Description: "The array of DNS Server objects (“serverName”: “fqdn of server”).",
Optional: false,
Required: true,
Type: schema.TypeList,
Type: schema.TypeSet,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"server_name": {
Expand Down

0 comments on commit d7e7723

Please sign in to comment.