Commit Graph

939 Commits

Author SHA1 Message Date
Julio Castillo
065b1471a8 Reorder org policy rules 2023-01-03 16:52:31 +01:00
Israel Herraiz
a733bfe6c5 Use map for local clusters variable 2022-12-30 11:27:37 +01:00
Israel Herraiz
b0955964ee Fix TF code format 2022-12-28 19:57:07 +01:00
Israel Herraiz
20579394b8 Add cluster replicas to Bigtable module.
This adds the possiblity to define several clusters in a Bigtable instance,
which enables replication in Bigtable.

Some of the configurations options are moved inside a `map` that defines the
properties of each cluster.

These changes alter the interface of the module, so any previous code using this
module will have to adapt to the new options interface.
2022-12-28 19:53:17 +01:00
Ludovico Magnocavallo
66a402083b Allow setting no ranges in firewall module custom rules (#1073)
* allow setting no ranges in custom firewall rules

* fix blueprint

* fix example

* fix example
2022-12-23 09:03:31 +01:00
Israel Herraiz
8718fedcab Fix service account prefix after provider version bump 2022-12-23 00:45:37 +01:00
Israel Herraiz
a544a9d32d Update README.md after changing variables.tf 2022-12-23 00:17:05 +01:00
Israel Herraiz
36135405c4 Remove extra blank line 2022-12-23 00:13:30 +01:00
Israel Herraiz
7df527e1ef Bump versions EVERYWHERE 2022-12-23 00:06:42 +01:00
Israel Herraiz
32bee7104e Add gc_policy to Bigtable module.
Column families have now a new property, to specify the garbage collection
policy. A new option also allows to set a default policy if none is specified.

This changes the previous syntax for column families, that was helpful since the
policy is column-family specific, the new syntax makes it easier to specify a
policy per column family.
2022-12-22 23:37:30 +01:00
Ludovico Magnocavallo
a847c772b4 Fix MIG health check variable (#1070)
* fix MIG health check variable

* fix MIG health check variable
2022-12-22 17:12:17 +00:00
Israel Herraiz
f0395f9a8d Merge branch 'master' into fix_column_families 2022-12-22 17:22:12 +01:00
Israel Herraiz
801c42679e Fix linting in README.md code 2022-12-22 17:07:50 +01:00
Israel Herraiz
6009de40cb Make tables optional and forbid it to be set to null 2022-12-22 16:33:29 +01:00
Israel Herraiz
3aad78c525 Fix indentation 2022-12-22 16:30:10 +01:00
Israel Herraiz
223092bfa1 A table can have more than one column family.
This commit fixes #1064 by allowing to add more than one column family. Split
keys are also now optional, and there is no possibility to set defaults for all
tables (since keys and column families are related to the data and schema for
each table, it is difficult that several tables share the same values).

Also, declaring a table with no split keys nor column families requires
initializing the table to an empty map, instead of using null.
2022-12-22 16:27:41 +01:00
Miren Esnaola
e1613ee03e Added endpoint_attachment_hosts output to apigee module 2022-12-22 15:43:55 +01:00
Ludovico Magnocavallo
ed7235186a Merge branch 'master' into glb-backend-service-load-balancing-scheme 2022-12-22 12:27:21 +01:00
Ludovico Magnocavallo
082c63dfc5 refactor GCS module and tests (#1066) 2022-12-22 12:27:09 +01:00
Miren Esnaola
18fa8b79b3 Corrected load balancing scheme in backend service
Corrected load balancing scheme in backend service
2022-12-22 12:22:07 +01:00
Wiktor Niesiobędzki
7e18f6d7b5 Fixes for GKE
* Fix non-empty plan when spot instances are used
* Add cluster_id and recommend its use, as this prevents inconsitencies
  when only cluster is recreated (with no changes on node pool)
2022-12-21 23:14:52 +01:00
Ludovico Magnocavallo
b438e0c37a Allow using dynamically generated address in LB modules NEGs (#1061)
* test

* fix #1055 for net-ilb-l7

* fix glb module
2022-12-21 17:04:56 +01:00
Ludo
0d7243979b revert last commit 2022-12-21 13:12:15 +01:00
Ludo
7c95b7ce43 fix #1055 for net-ilb-l7 2022-12-21 13:07:36 +01:00
Ludovico Magnocavallo
4d0c3b40f2 Merge branch 'master' into jccb/fix-net-vpc-factory 2022-12-20 08:27:03 +01:00
Ankur Saxena
b487b2c938 Feature - CloudSQL pre-allocation private IP range and GKE Cluster ignore_change lifecycle hook. (#1056)
* Update to include allocate_ip_range

* Updates to GKE Cluster module

* Add boot_disk_kms_key to ignore changes

* Update ignore lifecycle block

* Update docs

* Remove default_pool_boot_disk

* Refactor as per suggestions in PR

* Update readme

* Update variable sort

* Changes to address review comments

Co-authored-by: Ankur Saxena <ankur.saxena@nwmworld.com>
2022-12-20 07:08:00 +00:00
Julio Castillo
b8ddf4c837 Read ranges from correct fields in firewall factory 2022-12-20 03:57:42 +01:00
Julio Castillo
b031d7add5 Fix tests 2022-12-18 20:37:16 +01:00
Julio Castillo
4f7cb39a06 Simplify readme discovery 2022-12-18 14:00:20 +01:00
Julio Castillo
126227502e Fix tests paths for examples 2022-12-18 14:00:20 +01:00
Julio Castillo
4b77e484b1 Migrate project module to new tests 2022-12-18 14:00:19 +01:00
Julio Castillo
e700a27079 Enforce terraform fmt in examples 2022-12-18 14:00:19 +01:00
Julio Castillo
5755f6e7cf Fix net-vpc factory ranges 2022-12-18 14:00:19 +01:00
Julio Castillo
513fdfe91a Make directive for supporting files in examples more explicit 2022-12-18 14:00:19 +01:00
Julio Castillo
b5ca8932dc Migrate organization to example-based tests 2022-12-18 14:00:19 +01:00
Simone Ruffilli
3e5c0b5ca7 Simple NVA - Fixes race condition
Prevents a race condition where the Google agent creates the local route for the LB VIP only after this script has been run
2022-12-15 11:02:24 +01:00
Prabha Arya
031b9f3476 Add ssl certs to cloudsql instance (#1049)
* add ssl certs to cloudsql instance

* rename variable

* fix typo

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-12-12 17:14:44 +01:00
Ludo
7d61c697c3 remove stale folder 2022-12-12 16:37:20 +01:00
Ludo
f29f1a562a update changelog 2022-12-11 09:41:56 +01:00
Ludovico Magnocavallo
d2015b0bc3 Assorted module fixes (#1045)
* net-ilb-l7 use both neg types in backends

* run example tests on cloud-config-container modules

* streamline nginx-tls cos module

* add tests for cos modules

* tfdoc

* onprem needs fixing, links

* disable test

* test
2022-12-10 15:40:15 +01:00
Ludovico Magnocavallo
2ff14b29fd Merge branch 'master' into patch-1 2022-12-08 18:13:19 +01:00
Chema Polo
9786dc4f39 added reverse lookup feature to module dns #1042 (#1043)
* added reverse lookup feature to module dns

* corrected readme example passed tfdoc and tests

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-12-08 18:13:05 +01:00
Julio Castillo
59687de2cb Merge branch 'master' into patch-1 2022-12-08 18:08:20 +01:00
Ayman Farhat
06dc4ea331 Update README.md (#1014)
Simple type fix. rags -> tags

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-12-08 16:48:26 +00:00
Ludovico Magnocavallo
2fae2215b2 Merge branch 'master' into patch-1 2022-12-08 17:36:24 +01:00
Ludovico Magnocavallo
46f694be08 Refactor net-glb module for Terraform 1.3 (#1044)
* wip

* urlmaps

* wip

* tested

* fix managed certificate names

* simple HTTP and HTTPS examples

* gce and hybrid neg examples

* internet NEG example

* serverless NEG and backend bucket examples

* certificate example

* fix example tests

* remove stale test module

* module test

* adfs blueprint

* add support for non-classic GLB and PSC NEGs

* apigee blueprint

* glb and cloud armor blueprint

* deprecate non-working nginx reverse cluster

* api gateway blueprint

* tfdoc

* fix top-level READMEs

* switch to new tests

* only/at most
2022-12-08 17:35:44 +01:00
Victor Cavalcante
f19d46841d Fix var.name in schema resource 2022-12-07 13:19:02 -03:00
Ludovico Magnocavallo
67fca1036c Fix status ingress/egress policies in vpc-sc module (#1036)
* fix status ingress/egress policies

* fix default status/spec value
2022-12-05 09:00:00 +01:00
Sebastian Kunze
f97239bd97 strongSwan: switch base image to debian-slim (#1033) 2022-12-02 13:11:02 +01:00
Ludo
0ab19122d1 remove spurious files 2022-12-01 23:56:31 +01:00