pulumi-google-cloud-static-website
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.
Metadata
Release files for pulumi-google-cloud-static-website 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pulumi_google_cloud_static_website-0.0.3.tar.gz | 7.7 kB | Without provenance | Details for pulumi_google_cloud_static_website-0.0.3.tar.gz |
Release files / pulumi_google_cloud_static_website-0.0.3.tar.gz
| Download URL | pulumi_google_cloud_static_website-0.0.3.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0490fc8725f167d79cbf41a16a1294b806f1aa8625d6b42632645b71333ba9fa
|
|
BLAKE2b-256 checksum How to use checksums |
4a2eb33662c0beda114489feb9b0f9a20dd6ebc3022314d21c7e586b3959b4a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Security for pulumi-google-cloud-static-website 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.