Closed rfletcher closed 9 years ago
I'd like to be able to merge EC2 fields and EC2 tags in the tags.selector field. For example, we'd like have EC2 availability zone as a tag in rundeck, along side our custom tags:
tags.selector=placement.availabilityZone|tags/role
If role=api and the AZ is us-east-1a, then the RunDeck tags should be "us-east-1a,api".
role=api
us-east-1a
Update:
I just discovered this exception, caused by the configuration above:
java.lang.NoSuchMethodException: Unknown property 'availabilityZone|tags/role' on class 'class com.amazonaws.services.ec2.model.Placement'
Based on that I guessed that reversing the order might do the trick for now, and it does. But order dependency and the exception looks like a bug.
sounds like a bug if the | is not split out before trying to pull out the bean property 'availabilityZone'
|
I'd like to be able to merge EC2 fields and EC2 tags in the tags.selector field. For example, we'd like have EC2 availability zone as a tag in rundeck, along side our custom tags:
If
role=api
and the AZ isus-east-1a
, then the RunDeck tags should be "us-east-1a,api".Update:
I just discovered this exception, caused by the configuration above:
Based on that I guessed that reversing the order might do the trick for now, and it does. But order dependency and the exception looks like a bug.