Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuyatinnefeld/terraform-google-cloud-storage
https://github.com/yuyatinnefeld/terraform-google-cloud-storage
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuyatinnefeld/terraform-google-cloud-storage
- Owner: yuyatinnefeld
- Created: 2023-02-03T05:54:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T07:07:56.000Z (almost 2 years ago)
- Last Synced: 2023-02-26T21:21:25.420Z (almost 2 years ago)
- Language: HCL
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Module to provision a Google Cloud Storage for the static website
### adjust the local variables for your GCP project
```hcl
locals {
project_id = "yuyatinnefeld-dev"
zone = "europe-west1-b"
}
```
### use these local variables in main.tf```hcl
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0.0"
}
}
}provider "google" {
project = local.project_id
zone = local.zone
}module "static_website_cloud_storage" {
source = "yuyatinnefeld/cloud-storage/google"
organization_name = var.organization_name
region = var.region
env = var.env
domain = var.domain
}
```## [Terraform Registry](https://registry.terraform.io/modules/yuyatinnefeld/cloud-storage/google/latest)