Skip to content

Commit 79d7ddc

Browse files
authored
[CDTOOL-1214] Add example for fastly_domain_v1 resource (#1146)
append docs
1 parent e4e19c6 commit 79d7ddc

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-5
lines changed

docs/resources/domain_v1.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
---
2-
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "fastly_domain_v1 Resource - terraform-provider-fastly"
4-
subcategory: ""
2+
layout: "fastly"
3+
page_title: "Fastly: fastly_domain_v1"
4+
sidebar_current: "docs-fastly-resource-domain"
55
description: |-
6-
6+
Manage your domains on Fastly.
77
---
88

9-
# fastly_domain_v1 (Resource)
9+
# fastly_domain_v1
1010

11+
Domain management allows you to manage your domains on Fastly and the services that they interact with.
1112

13+
## Example Usage
1214

15+
Basic usage:
1316

17+
```terraform
18+
resource "fastly_domain_v1" "example" {
19+
fqdn = "example.com"
20+
service_id = "12345abcde"
21+
description = "This is a test domain."
22+
}
23+
```
1424

1525
<!-- schema generated by tfplugindocs -->
1626
## Schema
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resource "fastly_domain_v1" "example" {
2+
fqdn = "example.com"
3+
service_id = "12345abcde"
4+
description = "This is a test domain."
5+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: "fastly"
3+
page_title: "Fastly: fastly_domain_v1"
4+
sidebar_current: "docs-fastly-resource-domain"
5+
description: |-
6+
Manage your domains on Fastly.
7+
---
8+
9+
# fastly_domain_v1
10+
11+
Domain management allows you to manage your domains on Fastly and the services that they interact with.
12+
13+
## Example Usage
14+
15+
Basic usage:
16+
17+
{{ tffile "examples/resources/domain_v1_basic_usage.tf" }}
18+
19+
{{ .SchemaMarkdown | trimspace }}

0 commit comments

Comments
 (0)