FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  1. Jan 27, 2021
  2. Jan 08, 2021
  3. Dec 10, 2020
    • Dr Rich Wareham's avatar
      allow stackdriver host project to differ from monitored project · d677de02
      Dr Rich Wareham authored
      As noted in #11, we do not support the common case where a single
      Stackdriver workspace hosts multiple projects. Do this by requiring a
      Google provider for the Stackdriver workspace be passed to the module is
      alerting is enabled.
      
      We use a separate provider because the provider used must be able to
      create monitoring resources *in the host project*. In the case of our
      standard deployment, this implies it needs *product admin* credentials.
      
      We no longer need to enable the monitoring service since this service a)
      needs to be enabled in the *host* project and b) the service will have
      been enabled as a necessary side-effect of creating the Stackdriver
      workspace.
      
      Closes #11
      d677de02
  4. Dec 09, 2020
  5. Aug 04, 2020
  6. Jul 29, 2020
  7. Jun 16, 2020
  8. Jun 11, 2020
    • Dr Rich Wareham's avatar
      Allow sql_instance_connection_name to be empty · 0753dceb
      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
      0753dceb
    • Dr Rich Wareham's avatar
      allow webapp service account id to be customised · 27dd7ccd
      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
      27dd7ccd
  9. Apr 17, 2020
    • Dr Rich Wareham's avatar
      remove random generated name hack · 4246d708
      Dr Rich Wareham authored
      We no longer need the random id hack for generating Cloud Run resource
      names as the provider now supports a autogenerate_revision_name flag
      which allows Google to generate the appropriate resource name for us.
      
      Closes #4
      4246d708
  10. Mar 27, 2020
    • Dr Rich Wareham's avatar
      main.tf: don't ignore changes in name · b9f6ca5e
      Dr Rich Wareham authored
      Ignoring changes in name means that one can never run terraform
      deployments beyond the initial creation of the webapp service. Terraform
      will always modify a service in-place but try to use the same name which
      negates the point of *setting* the name in the
      google_cloud_run_service.webapp resource.
      
      The downside of this is that one can't then deploy changes without
      deleting and re-creating random_id.webapp_revision_name resource but
      that is at least documented in the README.
      b9f6ca5e
  11. Mar 26, 2020
  12. Mar 25, 2020
  13. Mar 24, 2020
    • Dr Rich Wareham's avatar
      Add optional domain mapping · 864fa716
      Dr Rich Wareham authored
      Allow an optional domain mapping to be configured for the webapp. If a
      domain mapping is configured, appropriate DNS records are provided as
      outputs.
      
      Closes #2
      864fa716
  14. Mar 23, 2020
Loading