The output of the opsmanager_ssh_public_key prepends ubuntu: to the key.
This is useful when this output is used as the metadata into the OpsManager VM created via terraform.
The actual output, though, is not a valid SSH key, it is just a valid metadata key for GCP.
The output of the
opsmanager_ssh_public_key
prependsubuntu:
to the key. This is useful when this output is used as the metadata into the OpsManager VM created via terraform. The actual output, though, is not a valid SSH key, it is just a valid metadata key for GCP.Source: https://github.com/pivotal-cf/terraforming-gcp/blob/dbe21540a785a2745ead9ba31e398beec57d2e76/modules/ops_manager/outputs.tf#L24
We'd like the output to be a valid public key.