Ludovico Magnocavallo
409c088c2c
enforce schema docs in linting ( #3843 )
2026-04-08 10:20:50 +00:00
Ludovico Magnocavallo
fb21f6aaf8
Change factories_config type in FAST and project/vpc factory modules, add YAML schema validation ( #3728 )
...
* stage 0
* stage 1
* networking
* security
* pf stage
* tfdoc
* align schemas
* inventory
* fix observability
* pf module
* pf module budgets
* align fast stages
* align project subfactories
* tfdoc
* schema validation
* add missing schemas
* Fix observability types
---------
Co-authored-by: Julio Castillo <jccb@google.com >
2026-02-11 15:29:49 +00:00
Wiktor Niesiobędzki
ada7df8855
Bump tflint version for performance
2025-10-28 07:33:15 +01:00
Wiktor Niesiobędzki
269e47a565
Improve linting and fix agent-engine module name
2025-10-26 11:56:41 +01:00
Wiktor Niesiobędzki
2c878aa90e
.github linting
2025-10-24 13:11:17 +02:00
Wiktor Niesiobędzki
a61dc3cfdd
Add yamlint step to linting workflow
2025-10-24 13:11:17 +02:00
Wiktor Niesiobędzki
0759cf5454
fix Terraform version linter
2025-10-20 13:52:11 +02:00
Ludovico Magnocavallo
36648b6b63
FAST light implementation ( #3255 )
...
* data wip
* wip data
* update org schema, add note on expansion
* all schemas, workload notes
* Update WORKLOG.md
* Update WORKLOG.md
* Update WORKLOG.md
* Update WORKLOG.md
* wip
* data wip
* wip
* wip
* wip
* wip
* org module IAM context (using lookup)
* new-style context expansion in project IAM
* remove spurious file
* project module contexts
* finalize context replacement format for project module
* revert org module changes
* fix tag id interpolation in project
* fix tag id interpolation in project
* organization module context
* organization context test
* context expansion for folder tag bindings
* test context expansion for tag bindings
* service account module context
* simplify context local
* context for iam service account
* nuke blueprints
* remove links to blueprints
* vpc sc context in project module
* Add context to GCS module
* Add inline deps to plan_summary script
* Make context a top-level variable for folder, organization, sa
* Add add context top-level to VPC-SC
* move context out of factories_config variable
* tfdoc
* fix merge
* fix merge
* fix examples
* net-vpc module context
* add parent ids to folder context
* rename folder parent context
* fix folder parent check
* new project factory stub
* wip
* wip
* refactor defaults
* project iam
* bueckts and service accounts
* start adding context replacements
* better test data
* automation resources for folders and projects
* automation
* add support for project id interpolation
* first tested apply
* improve IAM description in gcs module
* add context to billing account module
* add notification channels to billing account module context
* add billing budgets to new pf
* schemas and defaults
* bootstrap wip
* bootstrap wip
* bootstrap wip
* pf outputs
* pf fixes
* fix pf sample data
* bootstrap lite fixes
* add locations to organization module contexts
* bootstrap lite fixes
* org fixes, billing accounts
* fix default project parent
* bootstrap lite wip
* add locations to gcs module context
* add context support to logging bucket module
* add context to pubsub module
* split out iam variables in gcs module
* fix logging bucket context test
* bootstrap log sink destinations
* streamline logging-bucket module variables
* fix logging bucket context test
* align logging bucket module interface in fast bootstrap
* add support for project-level log buckets to project factory
* support full context expansion in organization module log sinks
* log buckets in fast-lite bootstrap
* make og sink type optional in organization module
* log sinks in fast-lite bootstrap
* set tag values in factory context
* bootstrap lite data
* output files schema
* billing account schema
* output files
* output providers
* gcs output files
* boilerplate
* tflint
* check documentation
* check docs
* fix project module parent variable validation
* fix log bucket examples
* allow null parent in project module
* silence folder test errors
* fix billing account sink example
* fix project example
* fix billing account module
* fix folder tests
* fix FAST
* fix fast
* tfvars outputs
* wif
* cicd service accounts
* cicd
* allow defaults in context, minimal org policies
* support gcs managed folders in project factory and bootstrap lite
* support prefix in provider output files
* rename bootstrap stage
* gitignore
* gitignore
* security folder, billing IAM
* wip tfvars
* fix typo
* security IAM
* control tag iam/context via variables in organization module
* split tag creation from tag IAM to avoid circular refs
* port organization module tag changes to project module
* implement new-style context expansion in vpc-sc module
* fix fast vpc-sc tests
* boilerplate
* vpc sc stage
* schemas
* fast-lite compatibility for vpc sc stage
* make log project number optional in vpc-sc stage
* networking
* networking
* networking
* networking
* rename and move new stage under fast
* clone pf tests
* use context replacement for internal notification channels in billing account module
* support service agents in project module iam context replacements
* support service agents in project module iam context replacements
* add support for kms keys to project module context
* experimental pf example test and fixes
* fix schemas
* fix tests
* tfdoc
* tfdoc
* pf config
* experimental pf
* remove redundant dot from gcs managed folder IAM keys
* bootstrap experimental test
* project factory exp stage test
* skip tflint for bootstrap experimental test
* tflint
* fix gcs test
* documentation work
* documentation work
* Update README.md
* tfdoc
* tfdoc
* readme
* tfdoc
* readme
* readme
* readme
* readme
* support universe in pf exp projects
* missing universe service agents
* org policies import, non-admin billing IAM
* todo
* fix test
* custom constraints
* fast classic dataset
* fix test data
* context replacements in billing module log sinks
* fix typo
* add support for billing log sinks
* update docs
* readme
* cicd fix and test
---------
Co-authored-by: Julio Castillo <jccb@google.com >
2025-09-02 08:38:57 +02:00
Julio Castillo
49bdf49909
Remove blueprint metadata validation ( #3200 )
2025-06-28 17:06:10 +00:00
Julio Castillo
271942f2ed
Bump Terraform to 1.11 ( #3120 )
...
* Bump Terraform version to 1.11
* Update workflows
2025-05-29 11:11:39 +02:00
Ludovico Magnocavallo
4811f72a6c
Add FAST to Python linting check ( #3026 )
...
* turn on Python linting for fast
* remove secops.py
---------
Co-authored-by: bruzzechesse <bruzzechesse@google.com >
2025-04-11 16:48:17 +02:00
Wiktor Niesiobędzki
3e84236345
Project object c14n in separte file
...
Create separate file for canonicalization of project factory objects and
introduce duplicate-diff lint checker.
2025-03-30 10:39:08 +02:00
Julio Castillo
cf173701b6
New tool versions.py to manage versions.tf/tofu ( #2803 )
...
* Add provider_metadata to all modules
* Fix linting version check
* Another way
* Fix syntax
* Add fabric prefix to all provider meta
* Fix linting.yml
2025-01-09 09:57:48 +01:00
Wiktor Niesiobędzki
6d51c8da4d
Use separate versions.tofu for OpenTofu constraints
2024-12-17 12:29:04 +01:00
Ludovico Magnocavallo
91da1c6482
Support customizable resource names to fast stage 1 ( #2769 )
...
* add support for resource names to fast stage 1
* tflint version
2024-12-16 18:07:28 +00:00
Ludovico Magnocavallo
0fa257e6b1
Support customizable resource names in FAST stage 0 ( #2768 )
...
* support customizable resource names in FAST stage 0
* tfdoc
* tflint
* remove comment
* use object type
* tfdoc
* bump tf version
* bump terraform version in versions files
* tf version in ci
* trigger workflow
2024-12-16 17:46:34 +01:00
Julio Castillo
71f72761af
Run test and linting when pushing to master or fast-dev ( #2730 )
...
Maintainers occasionally force push to these branches. This will allow
tests to run without the need for a dummy PR
2024-11-22 19:21:38 +00:00
Ludovico Magnocavallo
abde265998
extend tests to fast-dev ( #2646 )
2024-10-30 10:39:36 +00:00
Wiktor Niesiobędzki
cf31d83b15
Explicit YAPF style
2024-05-28 10:53:13 +02:00
Ludovico Magnocavallo
7a5dd4e6db
FAST: add top-level folders and restructure teams/tenants in resman ( #2254 )
...
* remove teams and tenants from resman
* move fast features to stage 1, fix test inventories
* folders
* fix factory, add top level folder resources to outputs
* tfdoc
* stage 0 log sink defs
* tfdoc
* enable toc in resman readme
* simple tenants
* fast compatibility automation and logging
* testing fast-compatible tenants
* testing fast-compatible tenants
* tfdoc
* remove mt stages
* remove tests, fix links
* disable tflint
* fast tests
* make organization conditional in resman
* check names tool
* export real prefix to tfvars, prevent destroy errors
* prefix validation
* fix billing account export format
* tfdoc
* root node folder
* resman changes
* tenant resman roles
* first apply of tenant resman
* tenant log sinks in stage 1
* fix test vars
* tfdoc
* tenant vpc-sc access policy
* fix tests expected values
* tenant CI/CD
* identity providers
* wif
* tfdoc
* add comments to identity locals
* full-feature tenant resman apply
* tenant billing IAM
* stage test
* fix CI/CD comments
* tenant net stage verified
* tenant sec stage verified
* fix test
* README work
* tfdoc
* README
* README rewording
* README rewording
* tfdoc
* FAST excalidraw
* review comments
* diagram review changes
* add iam log sink for tenants
* remove redundant try from security stage
* Implement tflint-fast in Python driven by tftest.yaml files
* tflint
* test ci changes
* revert linting changes
* disable tflint for fast
* Create junit-style report for FAST tflint
* Remove junit-reporter
* YAPF tflint-fast.py
* Output tflint FAST to job summary
* Step summary
* Disable step_summary as output is not useful
* ignore tflint warning
* re-enable tflint on FAST
---------
Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com >
2024-05-15 09:17:13 +00:00
Wiktor Niesiobędzki
024d3255e6
Generalization of tflint call for FAST stages ( #2225 )
...
* Generalization of tflint call for FAST
* Fix tfvars path
* Fix tfvars path - depending where the file is
* Fix regex
* Reeanble linting
* Align test directory to stage name
* Align all fast stages to use tftest
2024-04-18 21:04:24 +02:00
Julio Castillo
f22837cd47
Enable TFLint in FAST stages ( #2221 )
2024-04-18 10:06:24 +02:00
Julio Castillo
3af7e257d2
Add tflint to pipelines ( #2220 )
...
* Fix terraform_deprecated_index
https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.5.0/docs/rules/terraform_deprecated_index.md
* Fix terraform_deprecated_interpolation
Reference: https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.5.0/docs/rules/terraform_deprecated_interpolation.md
* Fix more indexing
* Remove unused variable
* Enable TFLint for modules
* Add tflint config file
* Fix chdir
* Lint modules
* TFLint fixes
* TFLint
* Fixes binauthz README
* Fixes DNS response policy tests. Restores MIG outputs.
* Fixes other DNS response policy tests.
* Update tests for fast 2-e
* Moar fixed tests
---------
Co-authored-by: Simone Ruffilli <sruffilli@google.com >
2024-04-17 10:23:48 +02:00
Julio Castillo
ff90b736ca
Update actions to latest versions ( #2144 )
2024-03-11 09:31:16 +01:00
Ludovico Magnocavallo
6941313c7d
Factories refactor ( #1843 )
...
* factories refactor doc
* Adds file schema and filesystem organization
* Update 20231106-factories.md
* move factories out of blueprints and create new factories README
* align factory in billing-account module
* align factory in dataplex-datascan module
* align factory in billing-account module
* align factory in net-firewall-policy module
* align factory in dns-response-policy module
* align factory in net-vpc-firewall module
* align factory in net-vpc module
* align factory variable names in FAST
* remove decentralized firewall blueprint
* bump terraform version
* bump module versions
* update top-level READMEs
* move project factory to modules
* fix variable names and tests
* tfdoc
* remove changelog link
* add project factory to top-level README
* fix cludrun eventarc diff
* fix README
* fix cludrun eventarc diff
---------
Co-authored-by: Simone Ruffilli <sruffilli@google.com >
2024-02-26 10:16:52 +00:00
simonebruzzechesse
d11c380aec
Format python files in blueprints ( #2079 )
...
* format python files in blueprints
* update check on blueprints python code
* update python linter in CI workflow
2024-02-15 09:37:49 +01:00
Wiktor Niesiobędzki
2c9eb5795b
Bum terraform to version 1.7.0
2024-02-07 17:25:11 +01:00
Wiktor Niesiobędzki
70a94eda46
Add version check
2023-12-27 08:40:23 +01:00
Julio Castillo
5bbb7bdd09
Simplify linting output in workflow
2023-08-31 10:15:12 +02:00
Ludovico Magnocavallo
819894d2ba
IAM interface refactor ( #1595 )
...
* IAM modules refactor proposal
* policy
* subheading
* Update 20230816-iam-refactor.md
* log Julio's +1
* data-catalog-policy-tag
* dataproc
* dataproc
* folder
* folder
* folder
* folder
* project
* better filtering in test examples
* project
* folder
* folder
* organization
* fix variable descriptions
* kms
* net-vpc
* dataplex-datascan
* modules/iam-service-account
* modules/source-repository/
* blueprints/cloud-operations/vm-migration/
* blueprints/third-party-solutions/wordpress
* dataplex-datascan
* blueprints/cloud-operations/workload-identity-federation
* blueprints/data-solutions/cloudsql-multiregion/
* blueprints/data-solutions/composer-2
* Update 20230816-iam-refactor.md
* Update 20230816-iam-refactor.md
* capture discussion in architectural doc
* update variable names and refactor proposal
* project
* blueprints first round
* folder
* organization
* data-catalog-policy-tag
* re-enable folder inventory
* project module style fix
* dataproc
* source-repository
* source-repository tests
* dataplex-datascan
* dataplex-datascan tests
* net-vpc
* net-vpc test examples
* iam-service-account
* iam-service-account test examples
* kms
* boilerplate
* tfdoc
* fix module tests
* more blueprint fixes
* fix typo in data blueprints
* incomplete refactor of data platform foundations
* tfdoc
* data platform foundation
* refactor data platform foundation iam locals
* remove redundant example test
* shielded folder fix
* fix typo
* project factory
* project factory outputs
* tfdoc
* test workflow: less verbose tests, fix tf version
* re-enable -vv, shorter traceback, fix action version
* ignore github extension warning, re-enable action version
* fast bootstrap IAM, untested
* bootstrap stage IAM fixes
* stage 0 tests
* fast stage 1
* tenant stage 1
* minor changes to fast stage 0 and 1
* fast security stage
* fast mt stage 0
* fast mt stage 0
* fast pf
2023-08-20 09:44:20 +02:00
Ludovico Magnocavallo
d9f7cef1e7
allow using a separate resource for boot disk ( #1496 )
2023-07-07 15:40:13 +00:00
Julio Castillo
72b5944fb3
Simplify return
2023-05-05 17:03:42 +02:00
Julio Castillo
05ed1bf12f
Add blueprint metadata validation tool
2023-05-05 16:57:48 +02:00
Ludovico Magnocavallo
40cda39093
bump Terraform version ( #1307 )
2023-04-05 09:15:23 +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
59ed5d1915
Bump actions versions
2023-02-25 13:08:30 +01:00
Ludovico Magnocavallo
3cca689792
Check linting for Python dashboard files ( #1107 )
...
* enable Python lint check for network dashboard
* fix linting for network dashboard
2023-01-21 17:17:51 +01:00
Ludovico Magnocavallo
cb87f3efa5
Document new testing approach ( #1048 )
...
* document new testing approach
* remove unused workflow branches
* remove stale folder
* fix link
* document new testing approach
* remove unused workflow branches
* fix link
* Extend tests details in contributing guide
* Typos
Co-authored-by: Julio Castillo <jccb@google.com >
2022-12-12 19:59:46 +00:00
Julio Castillo
577db1d50b
Extend linting to blueprints
2022-10-28 17:49:44 +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
040c9284e6
Fix tf version in pipelines
2022-09-28 11:50:23 +02:00
Roberto Jung Drebes
4174f2a048
and linting too
2022-08-31 15:31:30 +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
Julio Castillo
e7dd12fa29
Reformat all code using yapf
2022-02-14 12:27:42 +01:00
Ludovico Magnocavallo
fbf4d29c88
Fix FAST names ( #539 )
...
* name checker, initial names fix
* fix name parser
* sdbx -> sbox
* explicit names
* show total name length
* check names in linting action
* validate prefix length
* fix typo
2022-02-12 13:29:22 +01:00
Julio Castillo
d9a96b54cd
Fix typo
2022-02-05 20:22:24 +01:00
Julio Castillo
06c3fb3757
Activate GHA for fast-dev-gke branch
2022-02-05 20:22:24 +01:00
Ludovico Magnocavallo
02e8a3927d
CI link checker ( #494 )
...
* CI link checker
* fix link errors
* fix ci
* wildcard on *.md
2022-02-04 13:28:07 +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