This package is deprecated.
Viewing docs for Google Cloud Static Website v0.0.3
published on Monday, Sep 19, 2022 by Pulumi
published on Monday, Sep 19, 2022 by Pulumi
Google Cloud Static Website (Deprecated)
I want to use the Pulumi Google Cloud Static Website package (google-cloud-static-website) in my project.
## Provider details
- Package: google-cloud-static-website
- Version: v0.0.3
- Publisher: Pulumi
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-google-cloud-static-website
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/pulumi/google-cloud-static-website/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/google-cloud-static-website/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/google-cloud-static-website/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/google-cloud-static-website/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, yaml, or hcl.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
This package is deprecated.
Viewing docs for Google Cloud Static Website v0.0.3
published on Monday, Sep 19, 2022 by Pulumi
published on Monday, Sep 19, 2022 by Pulumi
This component makes it easy to deploy a static website to Google Cloud using any of the supported Pulumi programming languages.
Usage
import { Website } from "@pulumi/google-cloud-static-website";
const site = new Website("site", {
sitePath: "./site",
});
export const { originURL } = site;
name: my-website
runtime: yaml
description: A static website built with pulumi-google-cloud-static-website.
resources:
site:
type: google-cloud-static-website:index:Website
properties:
sitePath: ./site
outputs:
originURL: ${site.originURL}
Input Properties
This component takes the following inputs.
- sitePath (string) - the root directory containing contents of the built website contents
- withCDN (boolean) - whether to provision a Google Cloud CDN to serve website content
- error404 (string) - the default error page for the website. Defaults to error.html
- index.html (string) - the default document for the site. Defaults to index.html
- domain (string) - the domain of the website
- subdomain (string) - The subdomain used to access the static website. If not specified will configure with apex/root domain of the DNS zone specified
Outputs
- originURL - the direct URL of the website (storage bucket endpoint)
- cdnURL - the CDN URL for the site
- customDomainURL - the custom domain URL where the static website can be accessed
Notes:
- The SSL certs can take anywhere from 60 - 90 mins after the update has been completed in order to fully provision. Upon first provisioning, there may be a short period of time where the cert is invalid when accessing the website over HTTPS.
This package is deprecated.
Viewing docs for Google Cloud Static Website v0.0.3
published on Monday, Sep 19, 2022 by Pulumi
published on Monday, Sep 19, 2022 by Pulumi