Providing your encryption key in plaintext format means anyone with access to the source code also has access to the key.
Compromise of encryption keys
Use managed keys or provide the raw key via a secrets manager
The following example will fail the google-compute-no-plaintext-vm-disk-keys check.
The following example will pass the google-compute-no-plaintext-vm-disk-keys check.