Fix regression in compute-vm module (#3872)

* fix(compute-vm): purge key_revocation_action_type from tests and update schema link

* fix schema link
This commit is contained in:
Ludovico Magnocavallo
2026-04-15 19:17:42 +02:00
committed by GitHub
parent 11dba441f9
commit 8076220648
17 changed files with 12 additions and 20 deletions

View File

@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# yaml-language-server: $schema=https://cdn.jsdelivr.net/gh/GoogleCloudPlatform/cloud-foundation-fabric@fast-dev/modules/project-factory/schemas/project.schema.json
# yaml-language-server: $schema=https://cdn.jsdelivr.net/gh/GoogleCloudPlatform/cloud-foundation-fabric@master/modules/project-factory/schemas/project.schema.json
# TODO: set a parent folder if needed
# parent: $folder_ids:shared

View File

@@ -285,7 +285,7 @@ variable "lifecycle_config" {
type = object({
allow_stopping_for_update = optional(bool, true)
deletion_protection = optional(bool, false)
key_revocation_action_type = optional(string, "NONE")
key_revocation_action_type = optional(string)
graceful_shutdown = optional(object({
enabled = optional(bool, false)
max_duration_secs = optional(number)

View File

@@ -72,7 +72,7 @@ values:
enable_display: null
guest_accelerator: []
instance_description: null
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata:

View File

@@ -66,7 +66,6 @@ values:
enable_display: null
guest_accelerator: []
instance_description: null
key_revocation_action_type: NONE
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -66,7 +66,6 @@ values:
enable_display: null
guest_accelerator: []
instance_description: null
key_revocation_action_type: NONE
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -88,7 +88,6 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -130,7 +130,6 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
labels: null
machine_type: c4a-standard-1
metadata: null

View File

@@ -128,7 +128,6 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
labels: null
machine_type: n4-standard-2
metadata: null

View File

@@ -165,7 +165,6 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
labels: null
machine_type: c4d-standard-2
metadata: null

View File

@@ -52,7 +52,6 @@ values:
enable_display: null
guest_accelerator: []
instance_description: null
key_revocation_action_type: NONE
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -55,7 +55,6 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -57,7 +57,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null
@@ -143,7 +143,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -43,7 +43,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null
@@ -130,7 +130,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -43,7 +43,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null
@@ -130,7 +130,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -43,7 +43,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -43,7 +43,7 @@ values:
enable_display: false
hostname: null
instance_encryption_key: []
key_revocation_action_type: NONE
key_revocation_action_type: null
labels: null
machine_type: e2-micro
metadata: null

View File

@@ -39,7 +39,7 @@ def get_yaml_files(folder):
@click.argument('folder', type=click.Path(exists=True, file_okay=False))
@click.option(
'--format', default=
'https://cdn.jsdelivr.net/gh/GoogleCloudPlatform/cloud-foundation-fabric@fast-dev/fast/stages/{parent}/schemas/',
'https://cdn.jsdelivr.net/gh/GoogleCloudPlatform/cloud-foundation-fabric@master/fast/stages/{parent}/schemas/',
help='Format string for the new schema path. Use {parent} placeholder. '
'Example: https://example.com/{parent}/schemas')
@click.option('--dry-run', is_flag=True, default=False,