gce/Vm Has A Service Account

Verifies the existence of a service account for the Ops Agent to use.

Product: Compute Engine
Step Type: AUTOMATED STEP

Description

This investigation only happens from the perspective googleapis and user provided input. We don’t look inside the VM for cases like GOOGLE_APPLICATION_CREDENTIALS. User will have to know and specify that if They are using the application

Failure Reason

The Ops Agent on instance {full_resource_path} is not configured with a service account for exporting logs and metrics.

Failure Remediation

Attach an active service account to the GCE Instance {full_resource_path}. Consult the following documentation for guidance:

Success Reason

The Ops Agent on instance {full_resource_path} is configured with service account {sa} for exporting logs and metrics.