Commit Graph

34 Commits

Author SHA1 Message Date
Ludo
7aad81d97f move ilb as next hop blueprint to module-level recipe 2025-02-20 16:26:38 +01:00
simonebruzzechesse
1e149c18fc New alloydb module (#2285)
* add alloydb module

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-05-22 09:40:25 +02:00
Julio Castillo
ef290c1c8d Enforce mandatory types in all variables (#1737) 2023-10-06 09:44:33 +00:00
Julio Castillo
5bbb7bdd09 Simplify linting output in workflow 2023-08-31 10:15:12 +02:00
Ludovico Magnocavallo
8d7dba49cb refactor tfdoc for legibility (#1544) 2023-07-29 11:11:31 +02:00
Julio Castillo
e6be368367 Simplify whitespace handling 2023-07-28 16:32:38 +02:00
Julio Castillo
d61e7df562 Fix whitespace handling 2023-07-28 15:43:40 +02:00
Julio Castillo
4f123ccc74 Extend tfdoc to generate TOCs 2023-07-28 14:18:28 +02:00
Ludovico Magnocavallo
884cb8b4bf Ensure all modules have an id output (#1410)
* net-vpc

* a-d

* complete modules

* fix error
2023-06-02 16:07:22 +02:00
Ludovico Magnocavallo
3d41d01efc FAST plugin system (#1266)
* plugin folder, gitignore, serverless connector example

* add support to fast plugin variables and outputs to tfdoc

* rename folder, READMEs

* add variable description

* show diffs

* check documentation, use multiple files

* debug check doc

* try a different glob

* debug tfdoc names

* more debug

* and even more debug

* fix gitignore

* fix links

* support extra files in tests

* fix fixture, switch stage 2 peering to new tests

* tfdoc

* Allow globs in extra files

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2023-03-24 12:28:32 +00:00
Julio Castillo
30419ca170 Fix check_documentation output 2023-01-12 13:37:02 +01:00
Julio Castillo
27cf698ce5 Colon -> Period 2022-11-25 09:36:57 +01:00
Julio Castillo
612d7283e8 Enforce nonempty descriptions ending in a colon 2022-11-24 18:56:01 +01:00
Julio Castillo
882a3ebf78 Fix pubsub sorting 2022-11-21 13:47:24 +01:00
Julio Castillo
cf39f68e9a Only look at outputs.tf in check documentation lint 2022-11-21 13:17:55 +01:00
Julio Castillo
297691565e Show different icons for documentation check failures 2022-11-21 13:17:55 +01:00
Julio Castillo
e2e7bc282d Remote debug lib 2022-11-21 13:17:55 +01:00
Julio Castillo
826ff14ef9 Sort variables and outputs 2022-11-21 13:17:55 +01:00
Julio Castillo
2e700db8a7 Fix variable/output sort check 2022-11-21 13:17:55 +01:00
Julio Castillo
5bd195aa8f Switch to namedtuple 2022-10-20 16:26:09 +02:00
Julio Castillo
8366933f4d Bring back sorted variables check 2022-10-20 16:15:41 +02:00
Simone Ruffilli
fb90500adc FAST: add 02-networking-peering stage. (#561)
* Networking with peering - initial commit

* README and tests

* Linter fixes

* Linter fixes

* Linter fixes

* Update README.md

* split out vpn/peering in separate files so the rest is identical

* fix dns for vpn and peering

* update tfdoc to support multiple outputs/variables files

* add peering variables

* update tfdoc for modules

* make it easier to spot errored docs

* fix doc

* yapf

* fix permadiff in firewall module source ranges

* FAST: Networking: DNS Fixes

* FAST: ability to toggle on-prem vpn creation

* FAST: fix outputs

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-02-28 12:27:27 +01:00
Julio Castillo
e7dd12fa29 Reformat all code using yapf 2022-02-14 12:27:42 +01:00
Ludovico Magnocavallo
cb9340fd4f exclude in check docs 2022-01-27 17:31:08 +01:00
Ludovico Magnocavallo
9a533180a0 Refactor project module, support per-file tags in tfdoc (#450)
* add support for in-doc tfdoc options overrides

* clean up project module

* add file description tags

* only output module and resource columns in tfdoc file table if they exist

* update fast READMEs

* fix check docs
2022-01-22 11:34:18 +01:00
Ludovico Magnocavallo
e866db2c88 Merge Fabric FAST (#435)
Co-authored-by: Simone Ruffilli <sruffilli@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-01-19 14:19:39 +01:00
Simone Ruffilli
ee25965c89 Copyright bump (#410) 2022-01-01 15:52:31 +01:00
Ludovico Magnocavallo
bf1e2e3bed backport tfdoc and check doc fixes 2021-12-22 15:44:43 +01:00
Ludovico Magnocavallo
a09485201a update documentation check 2021-12-22 15:35:12 +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
Julio Castillo
1d13e3e624 Add more validations to linter
- Ensure all variables and outputs are sorted
- Ensure all variables and outputs have a description
- Add data-solutions/data-platform-foundations to linter

Fix all modules to follow these new conventions.
2021-10-08 18:26:04 +02: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
Julio Castillo
c31764fa7e Add lint step to check module READMEs (#154)
* Add documentation check to lint process

* Split get_variables_outputs

* Install tfdoc dependencies in linting pipeline

* doc lint variant

* use new script args in ci build config

* exit early if doc does not exist

* align README docs with variables

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2020-11-07 09:12:41 +01:00