Hi all,
I need to block project-wide SSH keys from getting automatically added to a temporary instance while I am building GCP images with Packer.
As far as I understand from the following links:
I need to use the following option:
"metadata": {
"block-project-ssh-keys": true
}
I have tried it. Here is an excerpt from the code:
"name": "ubuntu-1604",
"type": "googlecompute",
...
"image_labels": {
"cookbook": "{{user `cookbook`}}",
"application": "{{user `application`}}",
...
},
"metadata": {
"block-project-ssh-keys": true
}
},
However, the project SSH keys are still added, and the users who own those keys are still created on the temporary instance and then baked into our image.
Could you please advise? Is it something obvious that I am missing?
Regards,
Ch.