Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
GCP instance templates should look for the metadata under the "properties" key #56793
The gcp_compute_instance_template documentation specifies that metadata for instance templates should be included under the
The following playbook illustrates the problem:
Running this playbook with the verbose flag shows the response, which does not have the metadata on it (it only has the
Checking the object in the GCP console similarly shows that there is no metadata.
When the playbook is run against this PR's branch, however, the response shows that metadata exists on the instance template:
Checking in the GCP console now shows that there is metadata attached.