From 032db2f9027fa8e69d09dad1886bb398d347cd9b Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Tue, 13 Jan 2026 10:30:19 +0100 Subject: [PATCH] expose bigquery kms in project schema (#3645) --- .../0-org-setup/schemas/project.schema.json | 6 ++-- .../0-org-setup/schemas/project.schema.md | 1 + .../stages/2-networking/schemas/dns.schema.md | 17 +++++++++ .../2-networking/schemas/project.schema.json | 6 ++-- .../2-networking/schemas/project.schema.md | 1 + .../schemas/project.schema.json | 6 ++-- .../schemas/project.schema.md | 1 + .../2-security/schemas/project.schema.json | 6 ++-- .../2-security/schemas/project.schema.md | 1 + .../firewall-policy-mirroring-rules.schema.md | 36 +++++++++++++++++++ .../schemas/project.schema.json | 6 ++-- .../project-factory/schemas/project.schema.md | 1 + 12 files changed, 73 insertions(+), 15 deletions(-) create mode 100644 modules/net-firewall-policy/schemas/firewall-policy-mirroring-rules.schema.md diff --git a/fast/stages/0-org-setup/schemas/project.schema.json b/fast/stages/0-org-setup/schemas/project.schema.json index ff161eecb..504fcdc8d 100644 --- a/fast/stages/0-org-setup/schemas/project.schema.json +++ b/fast/stages/0-org-setup/schemas/project.schema.json @@ -158,6 +158,9 @@ }, "location": { "type": "string" + }, + "encryption_key": { + "type": "string" } } } @@ -184,9 +187,6 @@ "org_policies": { "type": "string" }, - "org_policies": { - "type": "string" - }, "quotas": { "type": "string" }, diff --git a/fast/stages/0-org-setup/schemas/project.schema.md b/fast/stages/0-org-setup/schemas/project.schema.md index 2883f5bec..137ad054f 100644 --- a/fast/stages/0-org-setup/schemas/project.schema.md +++ b/fast/stages/0-org-setup/schemas/project.schema.md @@ -56,6 +56,7 @@
*additional properties: false* - **friendly_name**: *string* - **location**: *string* + - **encryption_key**: *string* - **deletion_policy**: *string*
*enum: ['PREVENT', 'DELETE', 'ABANDON']* - **factories_config**: *object* diff --git a/fast/stages/2-networking/schemas/dns.schema.md b/fast/stages/2-networking/schemas/dns.schema.md index c2b6530e3..e61d55d28 100644 --- a/fast/stages/2-networking/schemas/dns.schema.md +++ b/fast/stages/2-networking/schemas/dns.schema.md @@ -15,6 +15,7 @@ - **private**: *reference([private_zone](#refs-private_zone))* - **peering**: *reference([peering_zone](#refs-peering_zone))* - **forwarding**: *reference([forwarding_zone](#refs-forwarding_zone))* +- **public**: *reference([public_zone](#refs-public_zone))* ## Definitions @@ -41,3 +42,19 @@ - **`^.*$`**: *string* - ⁺**client_networks**: *array* - items: *string* +- **public_zone**: *object* +
*additional properties: false* + - **enable_logging**: *boolean* + - **dnssec_config**: *object* +
*additional properties: false* + - **state**: *string* + - **non_existence**: *string* +
*enum: ['nsec', 'nsec3']* + - **key_signing_key**: *object* +
*additional properties: false* + - **algorithm**: *string* + - **key_length**: *number* + - **zone_signing_key**: *object* +
*additional properties: false* + - **algorithm**: *string* + - **key_length**: *number* diff --git a/fast/stages/2-networking/schemas/project.schema.json b/fast/stages/2-networking/schemas/project.schema.json index ff161eecb..504fcdc8d 100644 --- a/fast/stages/2-networking/schemas/project.schema.json +++ b/fast/stages/2-networking/schemas/project.schema.json @@ -158,6 +158,9 @@ }, "location": { "type": "string" + }, + "encryption_key": { + "type": "string" } } } @@ -184,9 +187,6 @@ "org_policies": { "type": "string" }, - "org_policies": { - "type": "string" - }, "quotas": { "type": "string" }, diff --git a/fast/stages/2-networking/schemas/project.schema.md b/fast/stages/2-networking/schemas/project.schema.md index 2883f5bec..137ad054f 100644 --- a/fast/stages/2-networking/schemas/project.schema.md +++ b/fast/stages/2-networking/schemas/project.schema.md @@ -56,6 +56,7 @@
*additional properties: false* - **friendly_name**: *string* - **location**: *string* + - **encryption_key**: *string* - **deletion_policy**: *string*
*enum: ['PREVENT', 'DELETE', 'ABANDON']* - **factories_config**: *object* diff --git a/fast/stages/2-project-factory/schemas/project.schema.json b/fast/stages/2-project-factory/schemas/project.schema.json index ff161eecb..504fcdc8d 100644 --- a/fast/stages/2-project-factory/schemas/project.schema.json +++ b/fast/stages/2-project-factory/schemas/project.schema.json @@ -158,6 +158,9 @@ }, "location": { "type": "string" + }, + "encryption_key": { + "type": "string" } } } @@ -184,9 +187,6 @@ "org_policies": { "type": "string" }, - "org_policies": { - "type": "string" - }, "quotas": { "type": "string" }, diff --git a/fast/stages/2-project-factory/schemas/project.schema.md b/fast/stages/2-project-factory/schemas/project.schema.md index 2883f5bec..137ad054f 100644 --- a/fast/stages/2-project-factory/schemas/project.schema.md +++ b/fast/stages/2-project-factory/schemas/project.schema.md @@ -56,6 +56,7 @@
*additional properties: false* - **friendly_name**: *string* - **location**: *string* + - **encryption_key**: *string* - **deletion_policy**: *string*
*enum: ['PREVENT', 'DELETE', 'ABANDON']* - **factories_config**: *object* diff --git a/fast/stages/2-security/schemas/project.schema.json b/fast/stages/2-security/schemas/project.schema.json index ff161eecb..504fcdc8d 100644 --- a/fast/stages/2-security/schemas/project.schema.json +++ b/fast/stages/2-security/schemas/project.schema.json @@ -158,6 +158,9 @@ }, "location": { "type": "string" + }, + "encryption_key": { + "type": "string" } } } @@ -184,9 +187,6 @@ "org_policies": { "type": "string" }, - "org_policies": { - "type": "string" - }, "quotas": { "type": "string" }, diff --git a/fast/stages/2-security/schemas/project.schema.md b/fast/stages/2-security/schemas/project.schema.md index 2883f5bec..137ad054f 100644 --- a/fast/stages/2-security/schemas/project.schema.md +++ b/fast/stages/2-security/schemas/project.schema.md @@ -56,6 +56,7 @@
*additional properties: false* - **friendly_name**: *string* - **location**: *string* + - **encryption_key**: *string* - **deletion_policy**: *string*
*enum: ['PREVENT', 'DELETE', 'ABANDON']* - **factories_config**: *object* diff --git a/modules/net-firewall-policy/schemas/firewall-policy-mirroring-rules.schema.md b/modules/net-firewall-policy/schemas/firewall-policy-mirroring-rules.schema.md new file mode 100644 index 000000000..3ada670f9 --- /dev/null +++ b/modules/net-firewall-policy/schemas/firewall-policy-mirroring-rules.schema.md @@ -0,0 +1,36 @@ +# Firewall Policy Mirroring Rules + + + +## Properties + +*additional properties: false* + +- **`^[a-z0-9_-]+$`**: *reference([rule](#refs-rule))* + +## Definitions + +- **rule**: *object* +
*additional properties: false* + - ⁺**priority**: *number* + - **action**: *string* +
*enum: ['mirror', 'do_not_mirror', 'goto_next']* + - **description**: *string* + - **disabled**: *boolean* + - **security_profile_group**: *string* + - **target_tags**: *array* + - items: *string* + - **tls_inspect**: *boolean* + - **match**: *object* +
*additional properties: false* + - **destination_ranges**: *array* + - items: *string* + - **source_ranges**: *array* + - items: *string* + - **source_tags**: *array* + - items: *string* + - **layer4_configs**: *array* + - items: *object* +
*additional properties: false* + - **protocol**: *string* + - **ports**: *array* diff --git a/modules/project-factory/schemas/project.schema.json b/modules/project-factory/schemas/project.schema.json index ff161eecb..504fcdc8d 100644 --- a/modules/project-factory/schemas/project.schema.json +++ b/modules/project-factory/schemas/project.schema.json @@ -158,6 +158,9 @@ }, "location": { "type": "string" + }, + "encryption_key": { + "type": "string" } } } @@ -184,9 +187,6 @@ "org_policies": { "type": "string" }, - "org_policies": { - "type": "string" - }, "quotas": { "type": "string" }, diff --git a/modules/project-factory/schemas/project.schema.md b/modules/project-factory/schemas/project.schema.md index 2883f5bec..137ad054f 100644 --- a/modules/project-factory/schemas/project.schema.md +++ b/modules/project-factory/schemas/project.schema.md @@ -56,6 +56,7 @@
*additional properties: false* - **friendly_name**: *string* - **location**: *string* + - **encryption_key**: *string* - **deletion_policy**: *string*
*enum: ['PREVENT', 'DELETE', 'ABANDON']* - **factories_config**: *object*