Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NS RRSet example in Docs #261

Closed
wants to merge 38 commits into from
Closed
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
ff07002
Added entities for work with DNS v2 API.
dchudik Jan 23, 2024
75a282b
Resolve merge conflicts in go.mod and go.sum after added entities for…
dchudik Jan 23, 2024
60394c5
Fix test: import zone for dns v2.
dchudik Jan 23, 2024
4db5403
Fix linters
dchudik Jan 23, 2024
da20624
Update entities selectel_domains_v2 for work with domains-go 1.0.2. A…
dchudik Jan 26, 2024
6629170
Remove "computed: true" from project_id in datasource domains_zone_v2.
dchudik Jan 26, 2024
08378f2
Added docs. Added ForceNew for not editable fields.
dchudik Feb 1, 2024
59a8313
Remove deprecated marks. DNSv1 is legacy.
dchudik Feb 5, 2024
3a905d7
Fix linter. Resolve go.mod conflicts. Rename rrset into two styles: r…
dchudik Feb 6, 2024
eef3b83
Merge branch 'master' into master
dchudik Feb 6, 2024
42c5c5c
Fix acceptance tests for import domains_v2 resources
dchudik Feb 6, 2024
34e655d
Update examples in docs. project_id required
dchudik Feb 9, 2024
3c1e75e
Merge branch 'master' into master
dchudik Feb 13, 2024
5f3bd5e
Added comments in import functions for domains_v2 resources. Used d.I…
dchudik Feb 13, 2024
5fa55d5
Fix docs for domains
dchudik Feb 21, 2024
b113a5a
Fix docs in domains
dchudik Feb 22, 2024
dd21ccf
Fix docs for domains
dchudik Feb 22, 2024
6ccebf5
Remove domains_v2 datasources with docs
dchudik Feb 26, 2024
82bf5f5
Added entities for work with DNS v2 API.
dchudik Jan 23, 2024
e006c45
Resolve merge conflicts in go.mod and go.sum after added entities for…
dchudik Jan 23, 2024
b41a52b
Fix test: import zone for dns v2.
dchudik Jan 23, 2024
bde2c6a
Fix linters
dchudik Jan 23, 2024
5288b16
Update entities selectel_domains_v2 for work with domains-go 1.0.2. A…
dchudik Jan 26, 2024
3d59a71
Remove "computed: true" from project_id in datasource domains_zone_v2.
dchudik Jan 26, 2024
4cc4482
Added docs. Added ForceNew for not editable fields.
dchudik Feb 1, 2024
7d97ac0
Remove deprecated marks. DNSv1 is legacy.
dchudik Feb 5, 2024
69802da
Fix linter. Resolve go.mod conflicts. Rename rrset into two styles: r…
dchudik Feb 6, 2024
6f3d0cd
Fix acceptance tests for import domains_v2 resources
dchudik Feb 6, 2024
7192a92
Update examples in docs. project_id required
dchudik Feb 9, 2024
7385ec6
Added comments in import functions for domains_v2 resources. Used d.I…
dchudik Feb 13, 2024
e20f478
Fix docs for domains
dchudik Feb 21, 2024
9e26587
Fix docs in domains
dchudik Feb 22, 2024
13932bd
Fix docs for domains
dchudik Feb 22, 2024
3d48fa3
Remove domains_v2 datasources with docs
dchudik Feb 26, 2024
ed87272
Merge remote-tracking branch 'origin/master'
Mar 22, 2024
1e05e78
Added NS example in docs
Mar 22, 2024
a721a98
Fix go.mod
Mar 22, 2024
76969d4
Edit TTL value
Mar 22, 2024
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
19 changes: 18 additions & 1 deletion website/docs/r/domains_rrset_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,23 @@ resource "selectel_domains_rrset_v2" "mx_rrset_1" {
}
```

### NS RRSet

```hcl
resource "selectel_domains_rrset_v2" "ns_rrset_1" {
zone_id = selectel_domains_zone_v2.zone_1.id
# NS RRSet supporting only for subdomains
name = "subdomain.example.com."
type = "NS"
ttl = 60
ptoject_id = selectel_vpc_project_v2.project_1.id
records {
content = "a.ns.selectel.ru."
# The content value is "<name_server>"
}
}
```

### SRV RRSet

```hcl
Expand Down Expand Up @@ -162,7 +179,7 @@ resource "selectel_domains_rrset_v2" "caa_rrset_1" {

* `name` - (Required) RRSet name. Changing this creates a new RRSet. The value must be the same as the zone name. If `type` is `SRV`, the name must also include service and protocol, see the [example usage for SRV RRSet](https://registry.terraform.io/providers/selectel/selectel/latest/docs/resources/domains_rrset_v2#srv-rrset).

* `type` - (Required) RRSet type. Changing this creates a new RRSet. Available types are `A`, `AAAA`, `TXT`, `CNAME`, `MX`, `SRV`, `SSHFP`, `ALIAS`, `CAA`.
* `type` - (Required) RRSet type. Changing this creates a new RRSet. Available types are `A`, `AAAA`, `TXT`, `CNAME`, `MX`, `NS`, `SRV`, `SSHFP`, `ALIAS`, `CAA`.

* `ttl` - (Required) RRSet time-to-live in seconds. The available range is from 60 to 604800.

Expand Down
Loading