FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • uis/devops/infra/terraform/gcp-cloud-run-app
1 result
Show changes
Commits on Source (3)
......@@ -16,16 +16,13 @@ resource "google_project_iam_member" "webapp_sql_client" {
# A Cloud Run service which hosts the webapp
resource "random_id" "webapp_revision_name" {
byte_length = 4
prefix = "${var.name}-"
}
resource "google_cloud_run_service" "webapp" {
name = var.name
location = var.cloud_run_region
project = var.project
autogenerate_revision_name = true
template {
metadata {
annotations = {
......@@ -45,9 +42,6 @@ resource "google_cloud_run_service" "webapp" {
"run.googleapis.com/client-name" = "placeholder"
"run.googleapis.com/client-version" = "placeholder"
}
# See the README for information on this.
name = random_id.webapp_revision_name.hex
}
spec {
......
# versions.tf defines minimum provider versions for the module
terraform {
required_providers {
google = ">= 3.16"
google-beta = ">= 3.16"
}
}