GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples

Multiple Instances - Lables

Open
#677 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
951
Forks
700
PR merge metrics
No merged PRs in 30d

Description

Could be missing somthing simple here. However lables are not creating when using multiple instances template. It tags the vm with goog-dm-(machinename) and just ignores any labels I have under properties

simplified yaml below. VMs create perfectly minus the lables specified.

imports:
- path: common.py
name: common.py
- path: default.py
name: default.py
- path: vm_instance.py
name: vm_instance.py
- path: vm_multiple_instances.py
name: vm_multiple_instances.py

resources:
- name: vm-multiple-instances
type: vm_multiple_instances.py
properties:
labels:
buildkey: example
nextbuildkey: example2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.