Description
This entry lists a Compute Engine disk declared in Deployment Manager. Persistent Disk encrypts stored data by default.
Potential impact
A disk missing from the inventory can keep accruing charges or fall outside snapshot schedules.
Remediation
Record the owner, zone and attached instances. Check access permissions and backups. If you use a customer-managed encryption key (CMEK), grant the Compute Engine service agent access and keep the key available. Disabling or deleting it can block disk access.
Examples
These excerpts use the retired Deployment Manager format. Both encrypt the disk. The second uses diskEncryptionKey.kmsKeyName to select a customer-managed key. Supply a key your service agent can use.
Before
resources:
- type: compute.v1.disk
name: disk-1-data
properties:
sizeGb: 10
zone: us-east1-c
After
resources:
- type: compute.v1.disk
name: disk-1-data
properties:
sizeGb: 10
zone: us-east1-c
diskEncryptionKey:
kmsKeyName: projects/example/locations/global/keyRings/ring/cryptoKeys/key
For an existing disk, plan any key migration and verify that a backup can be restored.