Commit Graph

16 Commits

Author SHA1 Message Date
Wiktor Niesiobędzki c47a76a74e fix Cloud Build E2E test 2024-07-13 13:43:04 +02:00
Wiktor Niesiobędzki 01904c3397 Fix CFv2 tests 2024-07-08 16:14:21 +02:00
Wiktor Niesiobędzki 1d76bfc3ff Add E2E tests for Cloud Functions and fix perma-diff 2024-07-08 16:14:21 +02:00
Ludovico Magnocavallo 0bb75f3ae1
support build service account in cloud function v2 module (#2371) 2024-06-21 20:19:29 +02:00
Ludovico Magnocavallo fa00deb747
Support GCS objects in cloud function modules bundles (#2361)
* cloud function v2

* cloud function v1

* blueprints
2024-06-14 11:44:01 +00:00
Ludovico Magnocavallo ea5e6dedc9
validate bundle, use pathexpand in cloud function modules (#2360) 2024-06-14 09:23:49 +02:00
Ludovico Magnocavallo cb5b36906c
don't compute checksum in cloud function module for static bundles (#2359) 2024-06-13 16:08:12 +00:00
Ludovico Magnocavallo 97d77d263b
support pre-made bundle archives in cloud function modules (#2358) 2024-06-13 14:58:23 +02:00
luigi-bitonti a14ed9add2
Cloud function CMEK key support (#2270)
* Added support to kms key

* Updated doc

* Fix variable description.

* Updated README

* Cloud function v2 integration with kms

* Fix variables description

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-05-14 12:56:10 +00:00
Wiktor Niesiobędzki 526185fd1f
Remove default region for Cloud Function and Cloud Run (#2004)
Remove default region for Cloud Function and Cloud Run
2024-01-24 10:23:40 +00:00
Deepak Kumar d62012cebc
Specify `docker_repository` field for google_cloudfunctions2_function (#1987)
* fix: allow configuring `docker_repository` for cloud-function2

When docker repository is not specified by default docker repository
`projects/PROJECT_ID/locations/REGION/repositories/gcf-artifacts` is used.
In such a case, terraform plan always generates a difference for `docker_repository`
field as the module passes null value but the tfstate file has the above specified
default value. This fix allows one to prevent unnecessary infrastructure change when
using the default repository as well as any user created repository.

* doc: updated README for cloud-function-v2

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-01-20 09:40:26 +00:00
luigi-bitonti be5d9b8fe0
Add bug fix in bucket local variable (#1709)
Fix bucket name reference in Cloud Functions if bucket is created and prefix is used.
2023-09-28 10:17:53 +00:00
Wiktor Niesiobędzki 1c2f0c6b14 Tests for secrets for CF 2023-09-26 11:22:35 +02:00
Ludovico Magnocavallo ff8eef6a6f
use cloud run bindings for cf v2 invoker role, refactor iam handling in cf v2 and cloud run (#1609) 2023-08-22 07:23:49 +00:00
Miren Esnaola cf567b0c43 Fix in event_filters of trigger_config 2023-07-25 16:22:09 +02:00
Ludovico Magnocavallo bd3296bc46
Split Cloud Function module in separate v1 and v2 modules (#1450)
* split v1

* v2

* blueprints

* remove _http
2023-06-19 12:50:36 +02:00