Ludovico Magnocavallo
79a6e9b191
pin local provider ( #1256 )
2023-03-16 10:59:06 +00:00
Dan Farmer
52eb83758f
Fix compute-vm:CloudKMS test for provider>=4.54.0
...
* TF provider >= 4.54.0 now returns `rsa_encrypted_key` for
`google_compute_disk.disks["attached-disk"]` (see
hashicorp/terraform-provider-google#4448 )
* Add this field to expected model to fix test assertion failure
* Update required TF provider to 4.55.0 (latest) since the assertion
will now fail with <4.54.0, which do not return `rsa_encrypted_key`
* Updated the whole repo on advice from @ludoo
2023-02-28 15:10:22 +00:00
Julio Castillo
08f2540872
Bump provider version
2023-02-07 15:59:29 +01:00
Wiktor Niesiobędzki
1a657b31d3
Bump beta provider to 4.48
...
This is the first version that supports `gateway_api_config` block
2023-01-29 15:50:24 +01:00
Israel Herraiz
7df527e1ef
Bump versions EVERYWHERE
2022-12-23 00:06:42 +01:00
Julio Castillo
e700a27079
Enforce terraform fmt in examples
2022-12-18 14:00:19 +01:00
Julio Castillo
612d7283e8
Enforce nonempty descriptions ending in a colon
2022-11-24 18:56:01 +01:00
Julio Castillo
2e700db8a7
Fix variable/output sort check
2022-11-21 13:17:55 +01:00
Wiktor Niesiobędzki
01218060e8
Simplify service_account_email expression
2022-11-16 16:44:38 +01:00
Wiktor Niesiobędzki
4947ac5028
Simplify trigger_service_account_email variable expression
2022-11-16 16:44:38 +01:00
Wiktor Niesiobędzki
bce8e2b082
Re-enable tests
2022-11-16 16:44:38 +01:00
Wiktor Niesiobędzki
97c6a25b90
Use hungarian notation.
...
As per: https://cloud.google.com/apis/design/naming_convention#quantities
2022-11-16 16:44:24 +01:00
Wiktor Niesiobędzki
de2bea16a4
Make trigger_config non-nullable and simplify expressions
2022-11-16 16:44:01 +01:00
Wiktor Niesiobędzki
4e6e67293b
Move comparision outside of try
2022-11-16 16:44:01 +01:00
Wiktor Niesiobędzki
755ff7b1d2
Add trigger service account creation
2022-11-16 16:44:01 +01:00
Wiktor Niesiobędzki
9e37a915c8
Review fixes.
...
* Refactor trigger_config and trigger_config_v2 into one structure
* bump default python version to 3.10
* typo fixes
2022-11-16 16:44:01 +01:00
Wiktor Niesiobędzki
303b51a0a9
Add triggers to cloud functions v2
...
* add `trigger_config_v2` for v2 functions
* add optional for objects in variables.tf
* make examples in README runnable
* add example for Cloud Function v2
* add exapmle for trigger for Cloud Function v2
* remove optional variables from examples with `null` value
2022-11-16 16:44:01 +01:00
Maurizio Noseda Pedraglio
b2bd0009b9
restored tfskip
2022-11-15 16:21:23 +01:00
Maurizio Noseda Pedraglio
a47726741d
enablid tests
2022-11-15 15:42:10 +01:00
Maurizio Noseda Pedraglio
4cbf0272f9
linting
2022-11-15 15:12:50 +01:00
Maurizio Noseda Pedraglio
7c874660a8
restored validation
2022-11-15 15:10:42 +01:00
maunope
09fba581a8
Update README.md
...
fix
2022-11-15 14:49:16 +01:00
maunope
f514ab0371
Update README.md
...
restored sample
2022-11-15 14:48:48 +01:00
maunope
fbfbb93783
Update README.md
...
linting fix
2022-11-15 14:47:11 +01:00
maunope
a199214970
Update variables.tf
...
fixed test
2022-11-15 14:42:19 +01:00
maunope
099ac6ea7e
Update main.tf
...
removed comment
2022-11-15 13:52:52 +01:00
maunope
a661dad67c
Update variables.tf
...
added worker pool variable
2022-11-15 12:24:59 +01:00
maunope
f00c7da926
Update main.tf
...
added worker pool parameter
2022-11-15 12:24:19 +01:00
maunope
fc0c8bd175
Update README.md
...
added sample
2022-11-15 12:23:44 +01:00
maunope
251703c63c
Update README.md
...
md file update
2022-11-15 12:18:00 +01:00
Natalia Strelkova
d96f95c2b6
cannot instead of can not
2022-11-11 11:56:47 +00:00
Natalia Strelkova
d5d1d9eb34
terraform formatting fixed
2022-11-10 15:11:38 +00:00
Natalia Strelkova
68c3b13d6a
prefix variable consistency across modules
2022-11-10 15:05:53 +00:00
Wiktor Niesiobędzki
0d80ad3f29
cloud-functions v2 - fix reference to bucket_name ( #951 )
...
* Fix reference to bucket when no bucket_config is provided
* Copy tests to check v2 cloud-functions
2022-11-06 08:32:38 +01:00
Julio Castillo
1a3bb25917
Update provider version (needed for dns logging support).
2022-10-25 12:15:02 +02:00
Somnath Shukla
a12da693a3
added support 2nd generation cloud function ( #872 )
...
* added support 2nd generation cloud function
* changed function_version to a simple boolean v2
removed memory_2ndGen
* will use the var.v2 to add the invoker role
* removed the list uisng compact and formated the code
* formated the code and added conditional feature
* formated the code
* added formating
* resolved the merge conflict
* Update readme
* Create local function object
* added secret_volumes
and secret_environment_variables for CF V2
Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-13 08:09:00 +02:00
Ludovico Magnocavallo
e8056577ce
Refactor GKE nodepool and blueprints ( #875 )
...
* first shot, untested
* example tests working
* module tests
* work on gke blueprints
* multitenant fleet doc examples
* fix gke hub doc examples
* blueprint tests
* move master range to vpc config
* fast stage 3 gke test
* tfdoc
* bump provider versions
* and bump provider again to latest
2022-10-12 12:59:36 +02:00
Natalia Strelkova
5dbc61cb8c
temporary revert to Terraform 1.3.1 to support Cloud Shell
2022-10-10 09:19:55 +00:00
Ludovico Magnocavallo
a0171b2c49
Bump terraform required version ( #864 )
...
* bump terraform required version
* fix test
* debug test
* debug test
* disable test
* fix CI file, bump terraform action version
2022-10-07 12:51:56 +02:00
Julio Castillo
ac835b6d50
Update terraform version
2022-09-28 11:28:05 +02:00
Julio Castillo
a866182161
Test documentation examples in the examples/ folder
2022-09-06 17:46:09 +02:00
Simone Ruffilli
a29faa7f8c
instance_termination_action must be set for compute-vm spot instances ( #778 )
...
* Bumped providers version
* Adds ability to control instance_termination_action for SpotVMs
2022-08-20 18:37:17 +02:00
Ludovico Magnocavallo
b20ab65756
GKE hub module refactor ( #760 )
...
GKE hub module refactor
Co-authored-by: Daniel Marzini <danielmarzini@users.noreply.github.com>
Co-authored-by: Miren Esnaola <mirene@google.com>
2022-07-29 08:39:25 +02:00
Julio Castillo
07b00c34fe
Bump providers versions and pin versions for tests
2022-06-28 10:20:40 +02:00
Ludovico Magnocavallo
cbf008fed5
add support for secrets ( #684 )
2022-06-16 16:34:46 +02:00
Ludovico Magnocavallo
ab646f38ed
Bump provider versions to >= 4.17.0, terraform to >= 1.1.0 ( #634 )
...
* bump provider versions to >= 4.17.0, terraform to >= 1.1.0
* bump teraform version in lint check, edit CHANGELOG
2022-04-17 13:55:40 +02:00
Wiktor Niesiobędzki
29d65811f3
Use uniform access on Cloud Functions buckets. ( #596 )
...
* Use uniform access on Cloud Functions buckets.
* Add ALLOW_INTERNAL_AND_GCLB as allowed ingress_settings.
* Enable versiniong if there is lifecycle rule
* Remove only non-current version of objects
2022-03-29 07:42:15 +02:00
Simone Ruffilli
abb6b50a46
Add periods at the end of each description field where missing ( #478 )
2022-01-31 10:45:34 +01:00
Julio Castillo
cf423998f0
Align tftest syntax with tdoc
...
This commit changes the token separator for inline examples from a
semicolon to a space
2022-01-28 21:34:15 +01:00
apichick
f3a7b8bc17
Removed unused key ingress_settings in function_config ( #463 )
...
Co-authored-by: apichick <apichick@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-01-28 08:45:32 +01:00