What happens during Cloud Discovery when a tag (key value) changes?

Bob D
Tera Expert

What happens to the cmdb_key_values table during Cloud Discovery if an existing tag has been changed within the cloud platform (say, Azure?)

 

For example, I have a Virtual Machine Instance CI that currently has a record in the Key Values table with this key/value:

 

Environment = Production

 

What happens during Discovery if this tag has been changed (in Azure) to Environment = Development?

 

Does Discovery:

 1. Update the existing tag with a new value?

 2. Create a new tag with the new value and leave the existing tag in the table? (this would seem to cause problems)

 3. Create a new tag with the new value and delete the old tag?  

 4. Other?

 

I ran a quick test and the answer seems to be #3

 

Anyone know for sure?  I haven't found any documentation that addresses this.

 

thanks

1 ACCEPTED SOLUTION

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

Hi Bob, yes 3 is what happens, by design.

View solution in original post

5 REPLIES 5

srinija_itom
Giga Guru

Ram, Thank you for clarifying!

 

Regards, 

 

Srinija