Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/resources/domain_record.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The following arguments are supported:
- `must_contain` - (Required) Text to search
- `url` - (Required) URL to match the `must_contain` text to validate an IP
- `user_agent` - (Optional) User-agent used when checking the URL
- `strategy` - (Required) Strategy to return an IP from the IPs list. Can be `random` or `hashed`
- `strategy` - (Required) Strategy to return an IP from the IPs list. Can be `random`, `hashed` or `all`


- `view` - (Optional) The answer to a DNS request is based on the client’s (resolver) subnet. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#views-records)
Expand Down
1 change: 1 addition & 0 deletions scaleway/resource_domain_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func resourceScalewayDomainRecord() *schema.Resource {
ValidateFunc: validation.StringInSlice([]string{
domain.RecordHTTPServiceConfigStrategyRandom.String(),
domain.RecordHTTPServiceConfigStrategyHashed.String(),
domain.RecordHTTPServiceConfigStrategyAll.String(),
}, false),
},
},
Expand Down