Skip to content
Open
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions website/docs/r/datasource.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ resource "ns1_datasource" "example" {
sourcetype = "nsone_v1"
}
```
OR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not add this to the example above with a unique resource name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still appears to be a seperate code block, any reason we can't remove the OR and combine both resources into a single code block, as in other examples?

```hcl
resource "ns1_datasource" "example" {
name = "example"
sourcetype = "nsone_monitoring"
}
```

## Argument Reference

Expand Down