Commit Graph

23 Commits

Author SHA1 Message Date
Julio Diez eadc1c22a4 New use case: Cloud Run services in service projects
Shared VPC Ingress feature (public preview) allows to call a Cloud
Run service revision from the Shared VPC network that it is connected
to.
2023-05-06 13:03:20 +02:00
Ludovico Magnocavallo 92b71a5098
Refactor cloud run module to use optionals and support all features (#1293)
* refactor cloud run resource and variables

* vpc connector variables and resource

* refactor env variable, combine and fix env examples

* fix volume example

* fix traffic split example

* fix eventarc/pubsub example

* fix eventarc/audit log example

* fix SA examples, fix examples formatting

* refactor eventarc variable

* tfdoc

* add IAM to example

* add examples for revision annotations and serverless connector

* fix new examples

* remove legacy module tests

* blueprint tests

* Add tests to cloud-run module

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2023-04-01 14:06:29 +02:00
Ludovico Magnocavallo 6320c53baf
Allow multiple peer gateways in vpn ha module (#1184)
* allow multiple peer gateways in vpn ha module

* align blueprints

* fast
2023-02-27 10:18:59 +00:00
Julio Diez d538e066a2 More explicit naming in CR services to later refer to them 2023-02-23 20:45:00 +01:00
Julio Diez 5065a52382 Fix naming in module cr2 2023-02-23 20:33:26 +01:00
Julio Diez 599d1a6ca5 Use *.run.app. domain in the DNS record 2023-02-23 20:15:34 +01:00
Julio Diez 3f45e75c35 Add DNS record for custom domain 2023-02-23 19:44:37 +01:00
Julio Diez ba0ec82144 Create more backend services and url map for them 2023-02-23 19:16:27 +01:00
Julio Diez aa385241db Add two different CR services in service project 2023-02-23 18:25:16 +01:00
Julio Diez edece34342 Add L7 ILB in preparation for custom domain 2023-02-23 17:41:50 +01:00
Julio Diez 91bd44f5d5 Remove 'main' from naming for CR since it can be deployed in a svc project 2023-02-22 15:54:03 +01:00
Julio Diez 29af0f3b31 Deploy CR service in service project if use case is using ILB 2023-02-22 15:29:15 +01:00
Julio Diez 376ccb7824 Add a service project and corresponding test VM 2023-02-21 17:20:57 +01:00
Julio Diez 7159274533 Add terraform identity to VPC SC
If the identity that runs terraform is not included when creating a VPC SC
perimeter, it loses control afterwards.
2023-02-20 16:54:34 +01:00
Julio Diez 559c44fce6 Access from another project, with VPC SC 2023-02-17 19:58:08 +01:00
Julio Diez de47f6077b Simplify some naming 2023-02-17 17:53:11 +01:00
Julio Diez c28039eaff Remove field, PGA is enabled by default 2023-02-17 17:41:29 +01:00
Julio Diez a77d7ea111 Add another GCP project to access CR from 2023-02-17 16:55:11 +01:00
Julio Diez 5b6ade4429 Keep test VM in main project even with onprem project 2023-02-17 13:35:53 +01:00
Julio Diez 46c041f59f Change naming from 'host' project to 'main' to avoid confusion 2023-02-17 13:15:58 +01:00
Julio Diez 15c8f92f46 Delete project resources without deleting the projects 2023-02-15 20:33:45 +01:00
Julio Diez 636a4cc01c Access CR from "onprem" environment 2023-02-15 13:37:16 +01:00
Julio Diez 92a57becd8 Accessing Cloud Run privately, first use case 2023-02-13 21:54:03 +01:00