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
Alejandro Leal
87cd83f5c0
Several updates
...
Several updates
2023-05-13 23:51:46 -04:00
Julio Castillo
87281f2017
Fix var name
2023-05-05 17:08:24 +02:00
Julio Castillo
176209ccda
Fix requirements
2023-05-05 17:05:03 +02:00
Julio Castillo
72b5944fb3
Simplify return
2023-05-05 17:03:42 +02:00
Julio Castillo
873c45d6c6
Add jsonschema to tools requirements.txt
2023-05-05 17:01:08 +02:00
Julio Castillo
05ed1bf12f
Add blueprint metadata validation tool
2023-05-05 16:57:48 +02:00
Julio Castillo
f4b8a61981
Clean workflow files
2023-04-25 15:28:34 +02:00
Julio Castillo
4245faae73
Add archive provider
2023-04-25 15:22:27 +02:00
Julio Castillo
b097d297ff
Extend tests to use lockfile if available
...
This commints allows the test framework to use a lockfile generated
within the tools/lockfile directory. This allows reusing the provider
cache and also running tests in parallel.
2023-04-25 15:12:11 +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
Ludovico Magnocavallo
8fc9549c58
add support for proxy and psc subnets to module factory ( #1211 )
2023-03-05 17:08:43 +01:00
Ludovico Magnocavallo
96e829bdf3
Billing exclusion support for FAST mt resman ( #1209 )
...
* fix files resource parsing in tfdoc
* fix tfdoc generated output
* billing exclusion support in mt bootstrap
2023-03-03 16:23:36 +00:00
Aleksandr Averbukh
06dd38170d
Fix outdated go deps, dependabot alerts ( #1208 )
2023-03-03 07:15:08 +01:00
Ludovico Magnocavallo
5453c585e0
FAST multitenant bootstrap and resource management, rename org-level FAST stages ( #1052 )
...
* rename stages
* remove support for external org billing, rename output files
* resman: make groups optional, align on new billing account variable
* bootstrap: multitenant outputs
* tenant bootstrap stage, untested
* fix folder name
* fix stage 0 output names
* optional creation for tag keys in organization module
* single tenant bootstrap minus tag
* rename output files, add tenant tag key
* fix organization module tag values output
* test skipping creation for tags in organization module
* single tenant bootstrap plan working
* multitenant bootstrap
* tfdoc
* fix check links error messages
* fix links
* tfdoc
* fix links
* rename fast tests, fix bootstrap tests
* multitenant stages have their own folder, simplify stage numbering
* stage renumbering
* wip
* rename tests
* exclude fast providers in fixture
* stage 0 tests
* stage 1 tests
* network stages tests
* stage tests
* tfdoc
* fix links
* tfdoc
* multitenant tests
* remove local files
* stage links command
* fix links script, TODO
* wip
* wip single tenant bootstrap
* working tenant bootstrap
* update gitignore
* remove local files
* tfdoc
* remove local files
* allow tests for tenant bootstrap stage
* tenant bootstrap proxies stage 1 tfvars
* stage 2 and 3 service accounts and IAM in tenant bootstrap
* wip
* wip
* wip
* drop multitenant bootstrap
* tfdoc
* add missing stage 2 SAs, fix org-level IAM condition
* wip
* wip
* optional tag value creation in organization module
* stage 1 working
* linting
* linting
* READMEs
* wip
* Make stage-links script work in old macos bash
* stage links command help
* fix output file names
* diagrams
* fix svg
* stage 0 skeleton and diagram
* test svg
* test svg
* test diagram
* diagram
* readme
* fix stage links script
* stage 0 readme
* README changes
* stage readmes
* fix outputs order
* fix link
* fix tests
* stage 1 test
* skip stage example
* boilerplate
* fix tftest skip
* default bootstrap stage log sinks to log buckets
* add logging to tenant bootstrap
* move iam variables out of tenant config
* fix cicd, reintroduce missing variable
* use optional in stage 1 cicd variable
* rename extras stage
* rename and move identity providers local, use optional for cicd variable
* tfdoc
* add support for wif pool and providers, ci/cd
* tfdoc
* fix links
* better handling of modules repository
* add missing role on logging project
* fix cicd pools in locals, test cicd
* fix workflow extension
* fix module source replacement
* allow tenant bootstrap cicd sa to impersonate resman sa
* tenant workflow templates fix for no providers file
* fix output files, push github workflow template to new repository
* remove try from outpout files
* align stage 1 cicd internals to stage 0
* tfdoc
* tests
* fix tests
* tests
* improve variable descriptions
* use optional in fast features
* actually create tenant log sinks, and allow the resman sa to do it
* test
* tests
* aaaand tests again
* fast features tenant override
* fast features tenant override
* fix wording
* add missing comment
* configure pf service accounts
* add missing comment
* tfdoc
* tests
* IAM docs
* update copyright
---------
Co-authored-by: Julio Castillo <jccb@google.com>
2023-02-04 15:00:45 +01:00
Julio Castillo
44724f3839
Update plan_summary to support running documentation examples
2023-01-19 17:47:14 +01:00
Julio Castillo
30419ca170
Fix check_documentation output
2023-01-12 13:37:02 +01:00
Julio Castillo
b840fcd74e
Plan summary tool
2022-12-06 16:13:20 +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
a988775c14
Do not modify in parameters in format_* functions
2022-10-20 18:56:54 +02: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
Ludovico Magnocavallo
162268a48b
Make changelog tool slower to work around inconsistencies in API results ( #876 )
...
* Make changelog tool slower to work around inconcistencies in API results
* add comment
2022-10-12 14:49:32 +02:00
Ludovico Magnocavallo
4a1465ae32
Comment redundant role in bootstrap stage, align IAM.md files, improve IAM tool ( #842 )
...
* comment redundant role
* account for duplicate folder names
* update IAM.md files
2022-09-29 08:30:01 +02:00
Ludovico Magnocavallo
bbc94a9dec
fix changelog generator ( #811 )
2022-09-13 11:41:28 +02:00
Ludovico Magnocavallo
642f1d1366
changelog tool improvements
2022-08-04 13:27:42 +02:00
Ludovico Magnocavallo
0655f6843d
fix group pulls
2022-08-02 14:17:37 +02:00
Ludovico Magnocavallo
0a58611792
Changelog generator ( #763 )
...
* first test
* test signing
* changelog load/dump
* changelog tool
* changelog generator
* lint
2022-08-02 11:45:05 +02:00
Ludovico Magnocavallo
d075e67425
workflow permissions
2022-07-30 19:29:50 +02:00
Ludovico Magnocavallo
3776120ba0
first test ( #762 )
2022-07-30 19:04:00 +02:00
Ray Walker
35e5ffaf85
fix: Raise ValueError when check_names detects overlong names
...
ValueError may not be the correct type?
Closes #679
2022-06-16 10:39:05 +10:00
Taneli Leppä
b28b379a7b
Added a tool to update provider_meta/module_name, Terraform version and provider versions on batch basis.
...
Also includes a pipeline to manually release new versions and update all module names.
2022-06-09 12:40:51 +02:00
Ludovico Magnocavallo
ff25809020
Fix tfdoc parsing on newllines in outputs ( #649 )
...
* fix
* use the right (ugly) Python formatter
* boilerplate on new file
* and do the actual tfdoc run on the original outputs file
2022-05-05 14:43:38 +02:00
Lorenzo Caggioni
ca655265f1
Add python module
2022-04-22 00:31:28 +02:00
Ludovico Magnocavallo
725f7effce
Initial MVP for CI/CD ( #608 )
...
* preliminary support for wif in stage 0
* IAM wif role
* IAM wif role TODO
* add support for external SA IAM to SA module
* add name output to SA module
* separate cicd SA
* tfdoc
* GITLAB principal (untested)
* make GCS name output static
* outputs bucket
* fix stage 1 test
* tweak outputs
* tfdoc
* move wif_pool to automation variable
* add support for top-level and repository providers
* add missing boilerplate
* fix branchless principal
* initial workflow
* symlink provider template in stages
* remove service accounts from stage 0 cicd tfvars
* add cicd interface variable to resman stage
* fix cicd variable in resman stage
* better condition on outputs_location
* fix last change
* change outputs_location type
* revert outputs_location change
* split outputs in stage 0
* update ci/cd temporary notes
* rename additive IAM resource in SA module
* split outputs in stage 1
* remove unused locals
* fix stage 1 tests
* tfdoc
* Upload action files to outputs_bucket
* Fix tests and README
* rename template, streamline outputs
* local templates and gcs output for all stage 2
* add workflows to local output files
* Use lowercase WIF providers everywhere
* Bring back suffix for workflow files
* Remove unused files
* Update READMEs
* preliminary CI/CD implementation for stage 1
* fix stage 1
* stage 1 cicd
* tfdoc
* fix tests
* readme and links for cicd and wif
* refactor wif providers
* refactor cicd for stage 1
* fix stage 1
* wif org policies
* split identity provider configuration from cicd
* add type attribute to cicd repositories
* valid cicd repositories have a workflow template
* refactor stage 01
* fix stage 01 tests
* minimal CI/CD documentation
* better check_links error reporting
* fix links
* Added Gitlab specific configurations
Set the default issuer_uri for Gitlab. Added allowed audiences to OIDC configuration.
* Fixed TF formatting in identity providers.
* Changing identity provider audience to null
Changing identity provider audience to default to null.
* add instructions for renaming workflows
* address Julio's comments
Co-authored-by: Julio Castillo <jccb@google.com>
Co-authored-by: alexmeissner <alexmeissner@google.com>
2022-04-12 08:17:27 +02:00
Lorenzo Caggioni
9011e370b8
Fix linting
2022-04-04 00:45:27 +02:00
Lorenzo Caggioni
6f00caaaab
Handle Service Identity SA. Update IAM.md
2022-04-04 00:38:34 +02:00
Luca Prete
29b469133f
Delete unused line
2022-03-28 23:14:16 +02:00
Luca Prete
4e8ef9d770
Simplify code
2022-03-28 20:36:51 +02:00
Luca Prete
3f3c7f9402
Providing default value in function arg for option external
2022-03-28 20:33:16 +02:00
Luca Prete
603732f7e8
Add option to test external links
2022-03-28 18:53:32 +02:00