-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add a datasource for google_compute_backend_bucket * Rename serviceName to backendBucketName Signed-off-by: Modular Magician <[email protected]>
- Loading branch information
1 parent
a5c6f97
commit 42a48dd
Showing
6 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:new-datasource | ||
`google_compute_backend_bucket` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
website/docs/d/datasource_google_compute_backend_bucket.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
subcategory: "Compute Engine" | ||
layout: "google" | ||
page_title: "Google: google_compute_backend_bucket" | ||
sidebar_current: "docs-google-datasource-compute-backend-bucket" | ||
description: |- | ||
Get information about a BackendBucket. | ||
--- | ||
|
||
# google\_compute\_backend\_bucket | ||
|
||
Get information about a BackendBucket. | ||
|
||
## Example Usage | ||
|
||
```tf | ||
data "google_compute_backend_bucket" "my-backend-bucket" { | ||
name = "my-backend" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `name` - (Required) Name of the resource. | ||
|
||
- - - | ||
|
||
* `project` - (Optional) The ID of the project in which the resource belongs. If it | ||
is not provided, the provider project is used. | ||
|
||
## Attributes Reference | ||
|
||
In addition to the arguments listed above, the following attributes are exported: | ||
|
||
* `bucket_name` - Cloud Storage bucket name. | ||
|
||
* `cdn_policy` - Cloud CDN configuration for this Backend Bucket. Structure is documented below. | ||
|
||
* `description` - An optional textual description of the resource; provided by the client when the resource is created. | ||
|
||
* `enable_cdn` - Whether Cloud CDN is enabled for this BackendBucket. | ||
|
||
* `id` - an identifier for the resource with format `projects/{{project}}/global/backendBuckets/{{name}}` | ||
|
||
* `creation_timestamp` - Creation timestamp in RFC3339 text format. | ||
|
||
* `self_link` - The URI of the created resource. | ||
|
||
The `cdn_policy` block supports: | ||
|
||
* `signed_url_cache_max_age_sec` - Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters