gce/Vm Metadata Check

Validates a specific boolean metadata key-value pair on a GCE VM instance.

Product: Compute Engine
Step Type: AUTOMATED STEP

Description

This step checks if the VM’s metadata contains a specified key with the expected boolean value, facilitating configuration verification and compliance checks.

Failure Reason

GCE VM metadata {metadata_key} doesn’t have the expected value: {expected_value} of type {expected_value_type}

Failure Remediation

Update the metadata {metadata_key} to have the expected value {expected_value} Follow guide [1] one to update the a metadata value. [1] https://cloud.google.com/compute/docs/metadata/setting-custom-metadata#gcloud

Success Reason

GCE VM metadata {metadata_key} has the expected value: {expected_value} of type {expected_value_type}