allow webapp service account id to be customised and SQL instance to be blank
All threads resolved!
All threads resolved!
Compare changes
Files
2- Dr Rich Wareham authored
Sometimes we don't need a SQL instance for the webapp. Allow sql_instance_connection_name to be empty and, if so, don't add the Cloud SQL connection roles to the service account or add the SQL instance annotation to the webapp. Closes #5
+ 26
− 17
@@ -8,7 +8,10 @@ resource "google_service_account" "webapp" {
@@ -25,23 +28,29 @@ resource "google_cloud_run_service" "webapp" {