Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (12 loc) · 919 Bytes

File metadata and controls

23 lines (12 loc) · 919 Bytes

Cloud Storage Static Website Example

The root folder of this repo shows an example of how to use the cloud-storage-static-website module to launch a static website on top of Google Cloud Storage.

How do you run this example?

To run this example, you need to:

  1. Install Terraform.
  2. Make sure you are in the root folder of the repo.
  3. Open up variables.tf and set secrets at the top of the file as environment variables and fill in any other variables in the file that don't have defaults.
  4. terraform init.
  5. terraform plan.
  6. If the plan looks good, run terraform apply.

When the apply command finishes, this module will output the domain name you can use to test the website in your web browser.