7060 Commits

Author SHA1 Message Date
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
Julio Castillo
944ee9aaae Remove deprecated resources from modules/looker-core (#3727) 2026-02-11 11:47:05 +00:00
Ludovico Magnocavallo
bf3f7a555a Merge remote-tracking branch 'origin/master' into fast-dev 2026-02-11 09:31:24 +00:00
Ludovico Magnocavallo
bbed7f5d2c Delete adrs/2026-02-10-dataset-base-path.md 2026-02-11 10:29:02 +01:00
Ludovico Magnocavallo
0d3dc13bfb Merge remote-tracking branch 'origin/master' into fast-dev 2026-02-11 09:27:43 +00:00
Ludovico Magnocavallo
c913c6df39 ADR on dataset overall base path (#3725)
* Create 2026-02-10-dataset-base-path.md

* Create 2026-02-10-dataset-base-path.md

* new ADR sketch

* Update 20260210-dataset-base-path.md
2026-02-11 10:27:08 +01:00
Ludovico Magnocavallo
936c808ff3 Merge remote-tracking branch 'origin/master' into fast-dev 2026-02-10 15:59:57 +00:00
Antonio Lopez
2a37612cf3 Looker PSC support (#3724)
* added PSC support

* added PSC support

* added PSC support

* Update README

* Add inventory

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2026-02-10 15:22:05 +00:00
Julio Castillo
ddab73d03f Add basic observability example to classic dataset (#3697)
* Add basic observability example to classic dataset

* Add boilerplate and observability schema

* Lint fix

* Add observability schema to project-factory module

* Extend duplicate-diff

* Fix tests

* Remove unused schemas
2026-02-10 14:35:13 +00:00
Julio Castillo
4e7b44e184 Retry #3719 and fix broken link (#3723)
* Fix url and remove unavailable service

* Add inline depedencies to `tools/check_links.py`
2026-02-10 13:42:21 +00:00
Julio Castillo
496e2791c1 Update README-GCD.md 2026-02-10 11:56:42 +01:00
Ludovico Magnocavallo
fd0badd870 Revert "Update billing-0.yaml in gcd dataset (#3719)" (#3721)
This reverts commit abb2b209ea.
2026-02-10 10:32:12 +01:00
Julio Castillo
abb2b209ea Update billing-0.yaml in gcd dataset (#3719) 2026-02-10 10:23:47 +01:00
Ludovico Magnocavallo
a782b3e11b Merge remote-tracking branch 'origin/master' into fast-dev 2026-02-10 07:41:40 +00:00
Julio Castillo
518d9d96aa Expose additional workforce identity attributes (#3717) 2026-02-09 15:30:58 +01:00
kovagoadam
4fa6a6f205 Add custom bucket name for project-factory module (#3682)
* Added bucket_name for project-factory module

* Added new key attribute to projects_buckets local

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2026-02-09 13:44:03 +01:00
Simone Ruffilli
494ecba511 Refactor subnets mgmt in net-vpc-factory (#3715)
Refactor subnets mgmt in net-vpc-factory

This commit removes the ability to define subnets inline within the VPC `.config.yaml` across `net-vpc-factory` and enforces file-based subnet definitions using the `subnets/` subdirectory pattern.

Key changes include:
- **Module Updates:** Removed standard and non-standard inline subnet arguments (`subnets`, `subnets_private_nat`, `subnets_proxy_only`, `subnets_psc`) from the factory module's internal `vpcs` instantiation.
- **Schema & Docs:** Renamed `vpc.schema.json` to `vpc-factory.schema.json`, stripping inline subnet definitions from the JSON schema, and updated the module `README.md` to reflect the new file-based only approach.
- **Stage 2 Networking Configs:** Refactored datasets to migrate inline `subnets_proxy_only` definitions into standalone files like `subnets/prod-proxy.yaml`. Added a new exported output `subnet_ips` for downstream usage.

<!--
**Breaking Changes**

```upgrade-note
`fast/stages/2-networking`: Proxy-only subnets have been renamed for consistency - unfortunately this results in a nasty create-before-destroy which needs to be handled manually (i.e. delete the existing proxy-only-subnet first, either manually or with a targeted apply, then apply again)
```
-->
2026-02-09 10:51:43 +00:00
Ludovico Magnocavallo
6ca86ed94f Merge remote-tracking branch 'origin/master' into fast-dev 2026-02-09 09:03:16 +00:00
Ludovico Magnocavallo
bcca9e44ac Support project-level tag key/value contexts in project factory (#3714)
* cross-project tag context

* improve regression test

* add tag contexts to README contexts table
2026-02-09 08:54:29 +00:00
Luca Prete
0ae7b9cca2 Ensure fast-links works on other *nix shells. (#3711)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2026-02-09 09:37:04 +01:00
lopezvit
4045d3c9cd docu: without specifying the asn to be 16550 this example gives an error (#3706)
Error:
com.google.apps.framework.request.StatusException: <eye3 title='INVALID_ARGUMENT'/> generic::INVALID_ARGUMENT: Invalid value for field 'resource.router': 'projects/<PREFIX>-prod-net-core-0/regions/europe-north1/routers/encrypted-vlan-attachment-b-underlay'. The Cloud Router used by PARTNER type interconnect attachments must be assigned a local ASN of '16550'

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2026-02-09 09:36:20 +01:00
Ludovico Magnocavallo
465ab5499a Merge remote-tracking branch 'origin/master' into fast-dev 2026-02-07 11:17:09 +00:00
Ludovico Magnocavallo
439fc4ad3c Remove resman mentions from FAST files (#3709)
* wip

* nuke resman mentions
2026-02-07 11:56:10 +01:00
Ludovico Magnocavallo
fda89827a2 revert #3704 (#3713) 2026-02-07 11:08:25 +01:00
Vannick Trinquier
d499dc6928 Add support for bucket logging configuration in module gcs and project-factory (#3699) 2026-02-06 14:14:46 +07:00
Ludovico Magnocavallo
06da98fac6 Fix regression in project factory module context (#3708)
* fix regression in pf

* regression test
2026-02-05 18:06:34 +00:00
lopezvit
97297d6065 fix(project-factory): Correctly interpolate IAM principals in tags (#3704)
* fix(project-factory): Correctly interpolate IAM principals in tags

Moves the processing of `tags` and `tag_bindings` from the `projects` module instance to the `projects-iam` instance.

This fixes a bug where IAM principals for automation service accounts, referenced via `$iam_principals:service_accounts/...`, were not being interpolated within `tags` IAM definitions. The `projects` module was called before the automation service account context was available, leading to the literal string being used instead of the service account email. Processing tags in the `projects-iam` module ensures the full context is available for interpolation.

Adds new tests for both the `project` and `project-factory` modules to validate the fix.

* fix(project-factory): Tag creation is now done in 2 steps.

1st step(projects): Creation of the tags without IAM bindings
2nd step(projects-iam): IAM bindings without creating the tags again
That way we are more backwards compatible as tags and tags values are back to be under  module.project-factory.module.projects["*"].google_tags_tag_*

* fix(modules/project-factory): introduce fix suggested by @ludoo, fix logs

* fix(modules/project-factory): fix linting

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2026-02-05 15:50:43 +00:00
Julio Castillo
7d33becacf Add asset_search to folder, project, and organization modules. (#3707) 2026-02-05 12:56:27 +01:00
Julio Castillo
f5958b9eae Merge branch 'master' into fast-dev 2026-02-05 12:25:31 +01:00
Liam Nesteroff
9debc3df6f feat: Add schema check to custom constraints, SCC custom modules, and observability configurations, along with their respective schema definitions. (#3705) 2026-02-05 12:20:25 +01:00
Samuele Perticarari
b2cbd7a3c6 fix: Fixed external broken links (#3703) 2026-02-04 14:35:37 +01:00
Ludovico Magnocavallo
8e7253ba11 add missing IAM interface attributes to service account module (#3700) 2026-02-04 12:07:06 +01:00
Simone Ruffilli
1404fb20da Net-vpc-factory (#3696)
This PR (re :D)introduces module net-vpc-factory, a minimal factory that deals with vpcs, subnets, and firewall rules creation, meant to be embedded into other factories, starting with 2-data-platform and 2-networking.
2026-02-04 11:36:58 +01:00
Vannick Trinquier
2af44b0651 Add support for security command center mute rules in module organization, folder and project (#3694) 2026-02-04 08:31:05 +07:00
Ludovico Magnocavallo
0e760c3015 fix id in service module when reusing in a universe (#3698) 2026-02-03 18:28:57 +00:00
Julio Castillo
3e277d808a Fix project-factory observability factory (#3695) 2026-02-02 16:02:00 +00:00
Suryansh Singhal
ce83fa5397 cloudsql maintenance window day made optional (#3693)
* - Mark maintenance_window.day as optional\n- Update validation logic to allow null values\n- Keep existing range checks when day is provided

* - Mark maintenance_window.day as optional\n- Update validation logic to allow null values\n- Keep existing range checks when day is provided

* updated the Readme

* refactor maintenance config day validation for cloud sql instance

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2026-02-02 10:28:53 +00:00
Suryansh Singhal
995e884700 fixed the datapath provider (#3692)
Co-authored-by: Julio Castillo <jccb@google.com>
2026-02-02 09:00:14 +00:00
Ludovico Magnocavallo
bfb6caa73b Update README.md 2026-02-02 09:28:36 +01:00
Ludovico Magnocavallo
67b44ee39e fix inventory 2026-01-31 07:23:41 +00:00
Ludovico Magnocavallo
801ed5d313 Merge remote-tracking branch 'origin/fast-dev' 2026-01-31 07:19:06 +00:00
Ludovico Magnocavallo
0ccb14cadf revert tls provider version pin 2026-01-31 06:59:16 +00:00
Ludovico Magnocavallo
4e5485e508 exclude troublesome tls provider version via pin 2026-01-30 20:01:42 +00:00
Ludovico Magnocavallo
cdc5e7df45 prep v52.0.0 2026-01-30 16:00:47 +00:00
Ludovico Magnocavallo
12fd675c8c Merge remote-tracking branch 'origin/master' into fast-dev 2026-01-30 15:59:10 +00:00
Ludovico Magnocavallo
1f8c2b36da prep v51.1.0 2026-01-30 15:58:47 +00:00
Ludovico Magnocavallo
30810146cf Merge remote-tracking branch 'origin/master' into fast-dev 2026-01-30 15:54:45 +00:00
Ludovico Magnocavallo
06c6df5fec allow null prefixes in project factory when override is not set (#3691) 2026-01-30 16:52:50 +01:00
Ludovico Magnocavallo
1a2f84a5a7 Fix resource policies for regional disks in compute-vm module (#3689)
* fix resource policy for regional disks

* remove unused providers from lockfile
2026-01-30 14:46:40 +01:00
Samuele Perticarari
f9b94955a9 fix: extract and validate links within HTML blocks in Markdown files (#3688)
* fix: extract and validate links within HTML blocks in Markdown files

---------

Co-authored-by: Samuele Perticarari <sperticarari@google.com>
2026-01-30 09:42:08 +00:00