Skip to content

Commit

Permalink
Update examples in docs. project_id required
Browse files Browse the repository at this point in the history
  • Loading branch information
dchudik authored Feb 9, 2024
1 parent 42c5c5c commit 34e655d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 26 deletions.
10 changes: 0 additions & 10 deletions website/docs/d/domains_rrset_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ Provides a RRSet info in DNS Hosting. For more information about RRSet in DNS Ho

## Example Usage

```hcl
data "selectel_domains_rrset_v2" "rrset_1" {
name = "example.com."
type = "A"
zone_id = "zone_id"
}
```

With specific project id.

```hcl
data "selectel_domains_rrset_v2" "rrset_1" {
name = "example.com."
Expand Down
8 changes: 0 additions & 8 deletions website/docs/d/domains_zone_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ Provides a zone info in DNS Hosting (API v2). For more information about zones i

## Example Usage

```hcl
data "selectel_domains_zone_v2" "zone_1" {
name = "example.com."
}
```

With specific project id.

```hcl
data "selectel_domains_zone_v2" "zone_1" {
name = "example.com."
Expand Down
10 changes: 10 additions & 0 deletions website/docs/r/domains_rrset_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ resource "selectel_domains_rrset_v2" "a_rrset_1" {
name = "a.example.com."
type = "A"
ttl = 60
ptoject_id = "project_id"
records {
content = "127.0.0.1"
}
Expand All @@ -39,6 +40,7 @@ resource "selectel_domains_rrset_v2" "aaaa_rrset_1" {
name = "aaaa.example.com."
type = "AAAA"
ttl = 60
ptoject_id = "project_id"
records {
content = "2400:cb00:2049:1::a29f:1804"
}
Expand All @@ -54,6 +56,7 @@ resource "selectel_domains_rrset_v2" "txt_rrset_1" {
name = "txt.example.com."
type = "TXT"
ttl = 60
ptoject_id = "project_id"
records {
content = "\"hello, world!\""
}
Expand All @@ -68,6 +71,7 @@ resource "selectel_domains_rrset_v2" "cname_rrset_1" {
name = "cname.example.com."
type = "CNAME"
ttl = 60
ptoject_id = "project_id"
records {
content = "origin.com."
}
Expand All @@ -82,6 +86,7 @@ resource "selectel_domains_rrset_v2" "ns_rrset_1" {
name = "example.com."
type = "NS"
ttl = 86400
ptoject_id = "project_id"
records {
content = "ns5.selectel.org"
}
Expand All @@ -98,6 +103,7 @@ resource "selectel_domains_rrset_v2" "mx_rrset_1" {
name = "mx.example.com."
type = "MX"
ttl = 60
ptoject_id = "project_id"
records {
content = "10 mail.example.org."
}
Expand All @@ -114,6 +120,7 @@ resource "selectel_domains_rrset_v2" "srv_rrset_1" {
name = "_sip._tcp.example.com."
type = "SRV"
ttl = 120
ptoject_id = "project_id"
records {
content = "10 20 30 mail.example.org."
}
Expand All @@ -130,6 +137,7 @@ resource "selectel_domains_rrset_v2" "sshfp_rrset_1" {
name = "sshfp.example.com."
type = "SSHFP"
ttl = 60
ptoject_id = "project_id"
records {
content = "1 1 7491973e5f8b39d5327cd4e08bc81b05f7710b49"
}
Expand All @@ -144,6 +152,7 @@ resource "selectel_domains_rrset_v2" "alias_rrset_1" {
name = "example1.com."
type = "ALIAS"
ttl = 60
ptoject_id = "project_id"
records {
content = "example2.com."
}
Expand All @@ -160,6 +169,7 @@ resource "selectel_domains_rrset_v2" "caa_rrset_1" {
name = "example.com."
type = "CAA"
ttl = 60
ptoject_id = "project_id"
records {
content = "128 issue \"letsencrypt.com.\""
}
Expand Down
8 changes: 0 additions & 8 deletions website/docs/r/domains_zone_v2.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ Creates and manages a zone in DNS Hosting using public API v2. For more informat

## Example usage

```hcl
resource "selectel_domains_zone_v2" "zone_1" {
name = "example.com."
}
```

With specific project id.

```hcl
resource "selectel_domains_zone_v2" "zone_1" {
name = "example.com."
Expand Down

0 comments on commit 34e655d

Please sign in to comment.