After updating tags on a GCP object in Aria Automation, not all tags are synced to Google Cloud Platform (GCP)
search cancel

After updating tags on a GCP object in Aria Automation, not all tags are synced to Google Cloud Platform (GCP)

book

Article ID: 431653

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

Running a day-2 action (workflow) to update "key:value" tags on a GCP VM (or other GCP object) can result in Automation and GCP then having a different number of tags.

Environment

Aria Automation 8.18.x

Cause

Aria Automation will ignore any duplicate tags/labels for GCP objects with the same key value, as they would not be accepted by GCP.

From the GCP documentation:

https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources

"The key portion of a label must be unique"

E.g. 

Tags updated on the GCP object in Automation:

key1:value1
key1:value2
key2:value3
key3:value4

This results in the below Tags being synced to GCP for this object:

key1:value1
key2:value3
key3:value4

Any duplicates of key ("key1") are not sent to GCP.

Resolution

Ensure all tags are created with unique key values.