allow webapp service account id to be customised and SQL instance to be blank
- Jun 16, 2020
-
-
Dr Rich Wareham authored
-
- Jun 11, 2020
-
-
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
-
Dr Rich Wareham authored
As noted in #6, we were hard-coding the service account id used for the webapp to "webapp-run". This meant it was impossible to deploy more than one webapp in a project. Form a better default from the "name" variable. For existing deployments the service account id will be unchanged if the "name" variable is at its default value. Allow the service account id to be specified explicitly via the optional "service_account_id" variable. Closes #6
-