Skip to content

Commit 3ec54f4

Browse files
Add datasource for hosting channel (#7079) (#13686)
Signed-off-by: Modular Magician <[email protected]>
1 parent d34e24f commit 3ec54f4

4 files changed

+39
-0
lines changed

.changelog/7079.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-datasource
2+
`google_firebase_hosting_channel`
3+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package google
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package google
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
subcategory: "Firebase"
3+
page_title: "Google: google_firebase_hosting_channel"
4+
description: |-
5+
A Google Cloud Firebase Hosting Channel instance
6+
---
7+
8+
# google\_firebase\_hosting\_channel
9+
10+
A Google Cloud Firebase Hosting Channel instance
11+
12+
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
13+
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
14+
15+
16+
## Argument Reference
17+
18+
The following arguments are supported:
19+
20+
* `site_id` -
21+
(Required)
22+
The ID of the site this channel belongs to.
23+
24+
* `channel_id` -
25+
(Required)
26+
The ID of the channel. Use `channel_id = "live"` for the default channel of a site.
27+
28+
## Attributes Reference
29+
30+
In addition to the arguments listed above, the following computed attributes are exported:
31+
32+
* `id` - An identifier for the resource with format `sites/{{site_id}}/channels/{{channel_id}}`. Same as `name`
33+
34+
* `name` - The fully-qualified resource name for the channel, in the format: `sites/{{site_id}}/channels/{{channel_id}}`.

0 commit comments

Comments
 (0)