Deploy Static Site from HTML
deploy-static-site-from-htmlDeploy static website from HTML content by creating a storage bucket, uploading the HTML, and provisioning a VM with nginx to serve it.
Instructions
Create a bucket, upload HTML, and provision a VM that serves the bucket content via nginx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Zone for the VM (e.g., us-central1-a) | |
| vmName | Yes | VM name | |
| projectId | No | Project ID (optional) | |
| bucketName | Yes | Bucket name | |
| htmlContent | Yes | HTML content to deploy |