Commit Graph

72 Commits

Author SHA1 Message Date
Julio Castillo e700a27079 Enforce terraform fmt in examples 2022-12-18 14:00:19 +01:00
Joe Heaton.dev 9fa381f5ed
Fix memory typo (#1016) 2022-11-27 18:29:25 +01:00
astianseb 345cb4b7fa
Default nodepool creation fix (#999)
* Default nodepool creation fix

* Removed comments and fixded formatting with fmt

* Refactored per PR comment

Co-authored-by: Astian Seb <sgrabski@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-11-22 19:17:57 +01:00
Julio Castillo 6242607e1b
Merge branch 'master' into ludo/gke-autopilot-datapath 2022-10-25 23:24:20 +02:00
apichick d9ccf04221
Added managed_prometheus to features (#906)
* Added managed_prometheus monitoring_config

* fix module

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-25 21:18:50 +00:00
Julio Castillo b1dfbe29c2
Merge branch 'master' into ludo/gke-autopilot-datapath 2022-10-25 23:07:28 +02:00
Julio Castillo 1a3bb25917 Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
Ludovico Magnocavallo 68f5719036
gke module datapath for autopilot 2022-10-25 07:23:38 +02:00
Daniel Marzini 49d5e21a4b
Fix csi-driver, logging and monitoring default values when autopilot … (#883)
* Fix csi-driver, logging and monitoring default values when autopilot is used
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-14 17:30:54 +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
Ludovico Magnocavallo f080794167
Merge branch 'master' into tmp_revert_to_1.3.1 2022-10-10 11:21:26 +02:00
Natalia Strelkova 5dbc61cb8c temporary revert to Terraform 1.3.1 to support Cloud Shell 2022-10-10 09:19:55 +00:00
Julio Castillo 08b1dfdb8e Fix optionals for resource_usage_export field in `gke-cluster` 2022-10-10 10:47:51 +02:00
Ludovico Magnocavallo 16822e94ab
Refactor GKE module for Terraform 1.3 (#868)
* wip

* module and module tests

* doc examples

* gke-hub doc examples

* gke blueprints

* hub and spoke peering blueprint

* Rename some keys of some optional objects

* Fix readme

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-10 09:38:21 +02: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
Arindam Sirohia eb73e13b67 Updated for each condition of binary authorization in gke-cluster module 2022-09-20 00:35:06 +05:30
Arindam Sirohia 489acfdb32 Added new binary_authorization argument in gke-cluster module 2022-09-20 00:09:59 +05:30
Julio Castillo 5e1974b9c7 Merge branch 'master' into fast/gke2 2022-09-07 13:39:17 +02:00
Julio Castillo a866182161 Test documentation examples in the examples/ folder 2022-09-06 17:46:09 +02:00
Julio Castillo 52e7e0517a Merge branch 'master' into fast/gke2 2022-08-24 15:37:15 +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
Daniel Marzini 6314afb21e Fix gke-cluster enable_binary_authorization being deprecated 2022-08-02 18:26:53 +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
apichick 329b511ac3
Changed cluster id sensitivity (#756)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-07-25 16:13:04 +02:00
Abhishek Patil d224404424 when using managed prometheus or passing monitoring config there is error thrown as Error: googleapi: Error 400: Cannot specify logging_config or monitoring_config together with logging_service or monitoring_service., badRequest which is resolved using the fix 2022-06-29 14:54:05 +05:30
Ludovico Magnocavallo 5982fe89ff as developed with Julio 2022-06-28 17:33:54 +02:00
Julio Castillo cf76744f95 Fix addons for autopilot clusters, add tests for gke-cluster.
Fixes second part of #702
2022-06-28 12:24:17 +02:00
Julio Castillo 07b00c34fe Bump providers versions and pin versions for tests 2022-06-28 10:20:40 +02:00
next-davidduquehernandez 4cb814a0ae
Added 'gke_backup_agent_config' option to addons in gke-cluster (#642)
* Added 'gke_backup_agent_config' option to addons in gke-cluster

* Update README.md after launch tfdoc.py
2022-04-30 10:32:49 +02:00
Julio Castillo 2ddce7b8fa Fix gke-cluster permadiff when using dns_config 2022-04-20 11:36:53 +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
Daniel Marzini 00ca59030d Update README.md 2022-03-14 17:12:56 +01:00
Daniel Marzini 463edc42cc [gke-cluster] filestore csi integration 2022-03-14 17:12:56 +01:00
Daniel Marzini e372b50d19
Add GKE Hub module to fabric (#540)
* GKE Hub initial PR commit

* variable management adjust

* comments, fixes and alphabetically ordered variables

* Update README.md

* Update README.md

* Update README.md

* fix test

* resources vs modules

still needs some love

* remove modules usage

* comments, readme update and output

* adjusting outputs and README

* fix README.md

* fix README

* adjusted based on comments

still need some love in the google_gke_hub_feature_membership variables management

* types and variable management

* optionally enable required api

* Update README.md

* reorder locals and use standard formatting

* Don't enable services from modules

* Use self links for member clusters

* Update readme

* members_clusters back to map

@juliocc let's talk about this cause we saw it together in our call and if I change it to a list than the other resources are not going to work, they need location there too.

* Forcing null feature to false due to a bug in provider

If a block is set to null the provider will crash with a "panic: interface conversion: interface {} is nil, not map[string]interface {}" a PR will follow

* Readme update

* Readme.md update

* Update README.md

* bring back tolist, WIP

* Update main.tf

* Readme.md update

* Update README.md

* Update main.tf

* Update main.tf

* Add id and self_links output to gke-cluster

* Use try and make all member feature blocks dynamic/optional

* Change member clusters to map

* Add gke-hub tests

* Address PR comments

* Update gke-hub readme

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-02-28 12:40:48 +01:00
Caio Tavares 666c5dd82e
feat: added missing addons gke (#481) 2022-02-01 07:23:00 +01: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
Julio Castillo 31f625f149 Link vars and outputs from README 2022-01-22 14:15:16 +01:00
Simone Ruffilli ee25965c89
Copyright bump (#410) 2022-01-01 15:52:31 +01:00
Ludovico Magnocavallo 2bc5f7d33c
update tfdoc (#404) 2021-12-30 10:56:19 +01:00
Ludovico Magnocavallo 1ac3fe4460
New tfdoc version (#396)
* update tfdoc

* rewrite check docs, refactor tfdoc replace, regenerate modules READMEs

* remove dead code from check docs

* do not fail on missing variable files in check docs

* fix typos
2021-12-21 08:51:51 +01:00
caiotavaresdito c9870b44f1 defaulted to false and conditional output 2021-11-30 07:58:45 -05:00
caiotavaresdito fd4383540a removed extra lines 2021-11-30 07:50:53 -05:00
caiotavaresdito 5a9183d908 Updated variable default value 2021-11-29 23:09:36 -05:00
caiotavaresdito da296c8bfe Default creation false 2021-11-29 22:49:01 -05:00
caiotavaresdito 01e100719e Added GKE pubsub notifications 2021-11-29 22:39:44 -05:00
caiotavaresdito 9d57c10f36 Fixed boolean variable condition 2021-11-18 14:12:13 -05:00
caiotavaresdito b09c24c736 Added dynamic block for dns_cache_config 2021-11-18 12:49:31 -05:00
Ludovico Magnocavallo f6775aca1b
Use the same versions file everywhere, pin to tf 1.0+ provider 4.0+ (#355)
* add default versions file, remove old providers and versions

* use default versions file everywhere

* fix kms module

* re-add provider configuration for data platform step 2

* update kms module outputs sorting

* update kms documentation

* fix data solutions tests

* fix GKE workload identity attribute name

* work around firewall provider issue in datafusion example
2021-11-03 15:05:43 +01:00