Commit Graph

6949 Commits

Author SHA1 Message Date
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
Luca Prete
dc2ccfe518 Fix Agent Engine PSC-I configuration (#3687) 2026-01-30 07:38:41 +01:00
Luca Prete
3877a40119 Add PSC-I support to Agent Engine module (#3686) 2026-01-30 07:24:06 +03:00
Tom Wehmeyer
6ba109f5ae Add template revision to ignore_changes list 2026-01-29 11:03:07 +01:00
Julio Castillo
c1e0c0a390 Clarify GCD install process (#3683) 2026-01-28 17:12:05 +03:00
Sven
e933340e02 feat: create new dataset classic-gcd (based on dataset classic) to enable deployment on GCD (#3679)
* feat: create classic dataset for GCD deployments

* Revert billing config to classic

* Revert GCD README

* Restore billing project in GCD

* Add basic alignment-test with classic dataset

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2026-01-27 16:59:18 +00:00
Julio Castillo
34415a8885 Update defaults.yaml (#3681) 2026-01-27 14:52:04 +00:00
Thomas Colomb
a29b1619e9 fix(gke-cluster-standard): Avoid perpetual diff on network tags in node_pool_auto_config block (#3680)
* fix(gke-cluster-standard): Avoid perpetual diff on network tags in node_pool_auto_config block

* Fix test, remove network tags when empty
2026-01-27 14:12:21 +00:00
Ludovico Magnocavallo
d95c4fcc3f Merge remote-tracking branch 'origin/master' into fast-dev 2026-01-27 11:55:58 +00:00
Ludovico Magnocavallo
8490df96bf Use context syntax for VPC-SC access levels and policies (#3678)
* access levels as context

* ingress/egress context in module

* ingress/egress context in module

* update FAST

* tfdoc

* context test
2026-01-26 15:12:26 +00:00
Simone Ruffilli
75bc003960 Add KMS, Confidential Compute and Shielded VM support to 2-networking (#3676) 2026-01-26 14:11:12 +00:00
Isabel Povoa
cc10a29f78 Update README-GCD.md (#3677)
Updated names and status for clarity
2026-01-26 13:49:22 +00:00