@hcrhall Thanks for those links, I have gone through the docs there but doesn’t covers lot of things.
Lets say for below code:
main = rule {
map allLinuxVMsUnzipCustomDataResources as _, resource {
{
"message": "Supported custom_data value supplied",
"name": resource.change.after.name,
"address": resource.address,
"custom_data": base64.decode(resource.change.after.custom_data),
}
}
map allLinuxsVMsSSUnzipCustomDataResources as _, resource {
{
"message": "Supported custom_data value supplied",
"name": resource.change.after.name,
"address": resource.address,
"custom_data": base64.decode(resource.change.after.custom_data),
}
}
map allVMsUnzipCustomDataResources as _, resource {
{
"message": "Supported custom_data value supplied",
"name": resource.change.after.name,
"address": resource.address,
"custom_data": base64.decode(resource.change.after.custom_data),
}
}
map allVMsSSUnzipCustomDataResources as _, resource {
{
"message": "Supported custom_data value supplied",
"name": resource.change.after.name,
"address": resource.address,
"custom_data": base64.decode(resource.change.after.custom_data),
}
}
}
I am unable to use and condition