Skip to content

Commit

Permalink
OB-31707 missing workspace (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
obs-gh-jackcoates authored Jun 5, 2024
1 parent 233e5b9 commit 619082b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/data-sources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Fetches data for an installed Observe app.

```terraform
data "observe_folder" "example" {
name = "OpenWeather"
workspace = data.observe_workspace.default
name = "OpenWeather"
}
data "observe_app" "example" {
Expand Down
24 changes: 24 additions & 0 deletions docs/data-sources/ingest_info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "observe_ingest_info Data Source - terraform-provider-observe"
subcategory: ""
description: |-
Ingest info for the Observe tenant.
---

# observe_ingest_info (Data Source)

Ingest info for the Observe tenant.



<!-- schema generated by tfplugindocs -->
## Schema

### Read-Only

- `collect_url` (String) Base URL for the Observe ingest API.
- `domain` (String) Base domain for the Observe ingest API.
- `id` (String) The ID of this resource.
- `port` (String) Port over which data should be sent. If omitted, assume scheme defaults.
- `scheme` (String) URI scheme for ingesting data.
5 changes: 3 additions & 2 deletions examples/data-sources/observe_app/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
data "observe_folder" "example" {
name = "OpenWeather"
workspace = data.observe_workspace.default
name = "OpenWeather"
}

data "observe_app" "example" {
folder = data.observe_folder.example.oid
name = "OpenWeather"
}
}

0 comments on commit 619082b

Please sign in to comment.