Commit Graph

30 Commits

Author SHA1 Message Date
The Magician
1ba048535e Add a default to Cloud Functions runtime (#3605)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-05-09 15:50:26 -07:00
Stanley Zheng
98389c0a0f Remove validation on GCF regions (#3530)
* adding additional GCF regions supported 

Fixes https://github.com/terraform-providers/terraform-provider-google/issues/3515 
https://cloud.google.com/functions/docs/locations

* remove region validation from google cloud functions

* remove for region check resource creation
2019-05-03 10:56:27 -07:00
The Magician
b21921fad2 [TF] Add max_instances to cloudfunctions functions (#3433)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-04-29 10:59:02 -07:00
The Magician
55c7a8b332 Hard remove broken Removed fields, fix 0.12 configs (#3437)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-04-15 18:14:01 -07:00
The Magician
9367f76430 Cloud Functions validation regexp (#3270)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-03-18 14:21:51 -07:00
Andrey Tataranovich
1b38f4c4d7 Cloud function name allow underscores. (#3265) 2019-03-18 14:10:57 -07:00
The Magician
82f0251ce1 timeout is now passed to operation wait (#3082)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-02-21 17:53:27 -08:00
The Magician
385ac491f4 Add service_account_email to google_cloudfunctions_function (#2947)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-01-28 14:39:37 -08:00
The Magician
3c5529cfd6 Remove over-validation by google_cloudfunctions_function on project ids (#2780)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-01-02 10:48:52 -08:00
The Magician
fab02ea478 add souce repo support to cloud functions (#2650) 2018-12-20 17:22:22 -08:00
Matthew Jones
7dd80d7102 support firestore cloud function triggers (#2480)
* support firestore cloud function triggers

* document firestore trigger specifics
2018-12-20 17:22:22 -08:00
The Magician
b8e74f0676 Add support for new-style cloud functions triggers. (#2412)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
95cb529d4d Remove google_cloudfunctions_function.retry_on_failure (#2392) 2018-12-20 17:22:22 -08:00
The Magician
29368a64d1 Add support for google_cloudfunctions_function runtime (#2340)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
db98fbd5e6 remove trigger_bucket and trigger_topic 2018-12-20 17:22:22 -08:00
Nathan McKinley
902675c324 Reverting 1.20 and 1.19 cherrypick branches. 2018-12-20 17:22:22 -08:00
The Magician
1ecab9556a Add support for new-style cloud functions triggers. (#2412)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
abf53cd91a Add support for google_cloudfunctions_function runtime (#2340)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Riley Karson
5512f8a961 Guard against nil empty typelists. 2018-10-11 09:48:19 -07:00
Riley Karson
e5d8575541 Accept all Cloud Storage and Cloud Pub/Sub event types 2018-10-03 12:42:18 -07:00
Riley Karson
11129f13b8 Add event_trigger to cloud functions 2018-10-03 11:15:45 -07:00
Harry Pidcock
65669fc6d6 Added Environment Variables configuration to Cloud Functions (#1830) 2018-09-10 17:37:43 -07:00
Harry Pidcock
8fbbee00b9 Fix cloud function sourceArchiveUrl incorrect interpretation. (#1844) 2018-08-14 17:09:32 -07:00
Megumi Tomita
004c010b33 Add supported locations of cloudfunction (#1863)
Cloudfunction facility is now supported in 4 locations.
This pull-request updates the list to catch up with it.
2018-08-14 17:07:43 -07:00
Luke Hoban
cf4e731236 Add support for updating function code in place (#1781)
Remove ForceNew from the source inputs on function resources, and add support for updating the function in place from a new source bucket+object.
2018-07-18 14:48:00 -07:00
Dana Hoffman
08b5804b70
add ability to retry cloud functions on failure (#1452) 2018-05-09 13:57:54 -07:00
Nathan McKinley
aaac3a1df9
Force validation of region for cloudfunctions. (#1188) 2018-03-13 12:11:41 -07:00
ssaqua
9155a556ef Update to Cloud Functions Pub/Sub trigger event (#1180) 2018-03-12 14:55:55 -07:00
Vincent Roseberry
d0f5fec463
Standardize resource name extraction from self_link/uri (#939)
* Standardize resource name extraction from self_link/uri

* remove rebase artifact

* style improvement

* Fix merge issue
2018-01-17 10:45:28 -08:00
sarunask
f07c332849 Cloud functions (#899)
* Initial commit

* Adding google_cloudfunction_function resource

* Some FMT updates

* Working Cloud Function Create/Delete/Get
Create is limited to gs:// source now.

* Fixed tests import

* Terraform now is able to apply and destroy function

* Fully working Basic test

* Added:
1. Allowed region check
2. readTimeout helper

* Found better solution for conflicting values

* Adding description

* Adding full basic test

* dded Update functionality

* Made few more optional params

* Added test for Labels

* Added update tests

* Added storage_* members and made function source deploy from storage bucket object

* Adding comments

* Adding tests for PubSub

* Adding tests for Bucket

* Adding Data provider

* Fixing bug which allowed to miss error

* Amending Operation retrieval

* Fixing vet errors and vendoring cloudfunctions/v1

* Fixing according to comments

* Fixing according to comments round #2

* Fixing tabs to space

* Fixing tabs to space and some comments #3

* Re-done update to include labels in one update with others

* Adding back default values. In case of such scenario, when user creates function with some values for "timeout" or "available_memory_mb", and then disables those attributes. Terraform plan then gives:
No changes. Infrastructure is up-to-date.
This is an error. By adding const we would avoid this error.

* Fixed MixedCase and more tabs
2018-01-10 13:25:43 -08:00