Julio Diez
d9b9f4d347
Fix conditional branch when resource does not exist
2023-04-17 16:19:25 +02:00
Julio Diez
dc608e24c4
Update num. resources in tests
2023-04-17 13:20:43 +02:00
Julio Diez
102c8ed0fb
Provision and configure the IAP service identity
...
The IAP service agent invokes Cloud Run when IAP is configured. This SA needs
the role run.invoker
2023-04-17 13:11:12 +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
3d41d01efc
FAST plugin system ( #1266 )
...
* plugin folder, gitignore, serverless connector example
* add support to fast plugin variables and outputs to tfdoc
* rename folder, READMEs
* add variable description
* show diffs
* check documentation, use multiple files
* debug check doc
* try a different glob
* debug tfdoc names
* more debug
* and even more debug
* fix gitignore
* fix links
* support extra files in tests
* fix fixture, switch stage 2 peering to new tests
* tfdoc
* Allow globs in extra files
---------
Co-authored-by: Julio Castillo <jccb@google.com>
2023-03-24 12:28:32 +00:00
Julio Diez
b3139004b0
Add link to public serverless networking guide
2023-03-14 16:14:19 +01:00
Julio Diez
6f499a998c
Merge branch 'master' into juliodiez-patch-2
2023-02-27 18:38:13 +01:00
Julio Diez
e9a0bb42be
Add reference to Cloud Run blueprints
2023-02-27 18:17:46 +01:00
Julio Diez
cee0875e42
Add references to the serverless chapters
2023-02-27 17:57:23 +01: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 Castillo
aaf97110c1
Move api-gateway test to bottom of README
2023-02-25 19:26:11 +01:00
Julio Castillo
e80adfa906
Make test visible
2023-02-25 19:26:11 +01:00
Julio Castillo
71e96dfdee
Allow blueprints to be tested from README files without examples.
2023-02-25 19:26:11 +01:00
Julio Diez
5f9955b5fe
Add image to show how to test different services
2023-02-24 18:21:10 +01:00
Julio Diez
1f3db47b0b
Clarify how to test custom domain case
2023-02-24 18:03:47 +01:00
Julio Diez
1f4d17973b
Add test for onprem (VPN) use case in README
2023-02-24 13:42:14 +01:00
Julio Diez
8518bffaaa
Add another test for VPC-SC in README
2023-02-24 12:36:12 +01:00
Julio Diez
0f7a9a3ce3
Include TFDOC content in README
2023-02-24 12:23:04 +01:00
Julio Diez
f93cdb920e
Add trailing dots to descriptions
2023-02-24 12:19:31 +01:00
Julio Diez
e8850ff3a1
Include tests in README
2023-02-24 12:16:22 +01:00
Julio Diez
531bfe134d
Update service-running image to reflect output from new CR image in use
2023-02-24 12:05:44 +01:00
Julio Diez
ad748db8a4
Add use case with custom domain description to README
2023-02-23 21:52:02 +01:00
Julio Diez
6f622e0601
DNS entries are now created for upper-level domains, not for endpoints
2023-02-23 21:18:19 +01:00
Julio Diez
f41bb15162
Output all CR services URLs
2023-02-23 21:07:57 +01: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
8d1edea487
Back to 'hello' image to distinguish between services
2023-02-23 19:21:44 +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
117141cdb0
Add subcase description in README
2023-02-21 17:58:05 +01:00
Julio Diez
376ccb7824
Add a service project and corresponding test VM
2023-02-21 17:20:57 +01:00
Julio Diez
1e794c851d
Update README
2023-02-21 13:55:17 +01:00
Julio Diez
eb85a4ad3b
Enlarge some images more in README
2023-02-20 19:03:11 +01:00
Julio Diez
0cfe3d6a65
Enlarge some images in README
2023-02-20 19:00:20 +01:00
Julio Diez
efe5e0e5f2
Fixes in README
2023-02-20 18:58:57 +01:00
Julio Diez
d61ccbe5ac
Add third use case description in README
2023-02-20 18:38:00 +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
bc6b89778c
Update README
2023-02-17 20:01:49 +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
5e8b8d0290
Use case 2 image
2023-02-17 13:41:53 +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
d31382994e
Update README
2023-02-17 13:29:50 +01:00
Julio Diez
3cf536931d
Update README
2023-02-17 13:26:26 +01:00
Julio Diez
25f243aa3d
Update README to adapt to naming in projects
2023-02-17 13:22:20 +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
b5e51180e6
Add second use case description in README
2023-02-15 21:22:33 +01:00
Julio Diez
a98248e32b
Update README to reflect only private access is allowed
2023-02-15 20:53:58 +01:00
Julio Diez
9a46d0f2e6
Restrict traffic to internal sources
2023-02-15 20:45:10 +01:00
Julio Diez
30821ac58e
Add first use case description in README
2023-02-15 20:44:22 +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
d0934903aa
Use a more curl friendly image
2023-02-14 12:57:43 +01:00
Julio Diez
28f4c3170e
Initial README
2023-02-13 21:57:54 +01:00
Julio Diez
92a57becd8
Accessing Cloud Run privately, first use case
2023-02-13 21:54:03 +01:00
Julio Diez
0cfd8dd883
Move all images to an images/ folder
2023-02-10 19:48:04 +01:00
Julio Diez
5c3fd31b02
Add missing newlines in README
2023-02-10 19:43:56 +01:00
Julio Diez
621ee6e517
Update variables table via tfdoc.py
2023-02-10 18:02:37 +01:00
Julio Diez
e72602a11d
Update variables table via tfdoc.py
2023-02-10 18:02:37 +01:00
Julio Diez
6c470ece11
Option to create a project
2023-02-10 18:02:37 +01:00
Julio Diez
98f9a318bc
Update output and variable tables via tfdoc.py
2023-02-10 14:38:16 +01:00
Julio Diez
1335fd65da
Update output and variable tables via tfdoc.py
2023-02-10 14:21:38 +01:00
Julio Diez
9fa48ea177
Add ending periods to descriptions
2023-02-10 14:13:56 +01:00
Julio Diez
4aa135f7e8
Generated output and variable tables via tfdoc.py
2023-02-10 14:01:11 +01:00
Julio Diez
d19d434538
Add HTML tags to generate output and variable tables
2023-02-10 13:21:01 +01:00
Julio Diez
aca3069951
Add quotes around var project_id
2023-02-10 12:59:09 +01:00
Julio Diez
f31293ba04
Specify block types
2023-02-10 12:56:59 +01:00
Julio Diez
d916632686
Update URL to repo
2023-02-10 12:49:39 +01:00
Julio Diez
3935867d92
Simplify conditional expressions
2023-02-10 12:48:47 +01:00
Julio Diez
a8de9088c6
Alphabetical ordering for outputs and variables
2023-02-10 12:46:34 +01:00
Julio Diez
a199414794
Add license boilerplate
2023-02-10 12:30:39 +01:00
Julio Diez
3e7d8c563e
Infer LB creation from custom_domain var
...
This way we can remove one var (glb_create) and simplify it for the user.
2023-02-09 10:33:51 +01:00
Julio Diez
a44759d585
Fix typos in README
2023-02-08 21:21:20 +01:00
Julio Diez
8b41008397
Add README file with the use cases
2023-02-08 21:04:51 +01:00
Julio Diez
642fff04ad
Get rid of config files
...
Follow CFF way, instead of using config files set appropriate values in file
variables.tf and use examples in the README to show how to tweak variables.
2023-02-07 21:01:28 +01:00
Julio Diez
8899412d76
Separate var iap_email to override it on the CLI
2023-02-03 11:37:56 +01:00
Julio Diez
54a0ff8939
Info comment for support_email
2023-02-03 11:15:09 +01:00
Julio Diez
616125c1cd
Enable service APIs in the project
2023-02-03 11:04:42 +01:00
Julio Diez
63bae85b34
Identity-Aware Proxy configuration
2023-02-02 21:47:11 +01:00
Julio Diez
4c2e31baac
Rename config file
2023-01-30 20:34:09 +01:00
Julio Diez
4c4018073f
Add security configuration using Cloud Armor in the LB
2023-01-30 20:30:35 +01:00
Julio Diez
8a7aa397ef
Add purpose to config files
2023-01-30 20:13:38 +01:00
Julio Diez
865a98e3ed
Add ingress settings blocking requests not coming from the LB
2023-01-30 16:53:23 +01:00
Julio Diez
93276d03d8
Add custom domain output
2023-01-30 16:34:52 +01:00
Julio Diez
cca1d9fe3c
Output the LB IP address
2023-01-30 14:39:46 +01:00
Julio Diez
e10c6ed62f
Output URL as single string
2023-01-30 14:38:38 +01:00
Julio Diez
914a8c48a6
Rename output URL as default URL
2023-01-30 12:13:23 +01:00
Julio Diez
1d3449d0e8
Add custom domain as variable
2023-01-26 16:42:49 +01:00
Julio Diez
5004f176c2
Add custom-url configuration
2023-01-26 14:34:01 +01:00
Julio Diez
b25afb5ea2
Fix format
2023-01-26 14:30:54 +01:00
Julio Diez
6039105651
Get rid of default-url config and make it 'default'
2023-01-26 14:29:25 +01:00
Julio Diez
417584f9bc
Default config renamed to default-url config
2023-01-26 14:18:37 +01:00
Julio Diez
097c9ceace
HTTPS frontend with static IP
2023-01-26 11:50:52 +01:00