Commit Graph

16 Commits

Author SHA1 Message Date
Jason Steenblik 22e9e9e950
Support CMEK encryption on Bigtable instances. (#1956) 2024-01-05 09:29:36 +01:00
luigi-bitonti ef4095f000
Removed deprecated variable and added labels (#1923)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2023-12-12 18:32:48 +00: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
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
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
Israel Herraiz 5d38e312c8 Set 1 num_nodes as default value, ignore num_nodes if autoscaling is set 2022-11-24 16:45:13 +01:00
Israel Herraiz 00a26d8e98 Add settings for autoscaling to Bigtable module. 2022-11-23 14:26:54 +01:00
Simone Ruffilli ee25965c89
Copyright bump (#410) 2022-01-01 15:52:31 +01:00
Julio Castillo cb7c65135e
Update CI processes (#296)
- Upgrade to latest terraform version (1.0.4)
- Remove tflint from linting pipeline (was not doing anything)
- Add terraform fmt check to linting pipeline
- Pass all code through terraform fmt
2021-08-12 17:30:53 +02:00
Julio Castillo 1e11c670f5 Update copyright to 2021 2021-02-15 09:38:10 +01:00
Ludovico Magnocavallo efc694ba01 fix and streamline bigtable module, add tests, align to new iam variable name 2020-11-06 08:11:07 +01:00
Julio Castillo 82a1fe3c20 Removing iam_roles from multiple modules
This commits removes the iam_roles variables from the modules:
 - artifact-registry
 - bigtable-instance
 - cloud-function
 - container-registry
 - endopoints
 - pubsub
 - source-repository
2020-10-30 18:58:07 +01:00
Lorenzo Caggioni 8d75a278a6 Fixes 2020-06-09 15:55:22 +02:00
Lorenzo Caggioni 9706d2c386 Add BigTable module 2020-06-09 02:40:26 +02:00