google::compute-backend-bucket

Creates a bucket backend.

Examples

 google::compute-backend-bucket gyro-backend-bucket-example
    name: 'gyro-backend-bucket-example'
    description: 'gyro-backend-bucket-example-desc'
    bucket: $(google::bucket bucket-example-backend-bucket)
    enable-cdn: false

    cdn-policy
        signed-url-max-age: 30000
    end

    signed-url-key
        key: "xyz"
        value: "ZWVsbG8gZnJvbSBHb29nbA=="
    end
end

Attributes

Attribute Description
bucket Cloud Storage bucket name.
description

An optional textual description of the resource; provided by the client when the resource is

created.

enable-cdn If true, enable Cloud CDN for this BackendBucket.
name The name of the backend bucket. The name must be 1-63 characters long and the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. (Required)
cdn-policy CDN configuration for this BackendBucket.
signed-url-key list Signed Url key configuration for the backend bucket.

Outputs

Attribute Description
self-link Server-defined URL for the resource.