crmap

jboero/crmap/gcp

Terraform Module HCL GCP ⏱ stale 4y 10mo

Terraform module to deploy a simple map of one or more containers publicly to Google Cloud Run.

Install

module "crmap" {
source = "jboero/crmap/gcp"
version = "0.1.0"
}
⭐ Source on GitHub 📦 Registry page

README

HashiCorp Stack on GCR Deploy a full set of HashiStack services in Google Cloud Run starting at a few pennies a month. Automatic HA and TLS courtesy of Google. Couch cushion HashiStack. This uses a single container limitation on GCR though some of them could potentially scale out if configured correctly. Uses simple for_each on the variable singletons to simplify everything. Note you will need to build out your own private image registry in GCR. Dockerfiles are included. Limitations of GCR mean you can only expose one port and it's exposed on 443. Dockerfiles The Dockerfiles I use are either copied from HashiCorp official hub registry or based on CentOS Streams latest and use our signed DNF repos for secure binaries. They could be smaller if built from a smaller Atomic distribution or cust

Inputs (3)

NameTypeDescriptionDefault
projstringGCP Project ID."gb-playground"
regionstringGCP Region to deploy cloud run services - ie europe-west4."europe-west4"
singletonsmapMap of containers and ports to deploy in GCR.{ "consul": { "command": [ "

Outputs (1)

endpoints

Resources (2)

google_cloud_run_servicegoogle_cloud_run_service_iam_policy

Details

FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud GCP
Total downloads4.9k
Inputs3
Outputs1
Resources2
Namespacejboero
Updated