I need to create a tag value containing a date string via Cloud Custodian (c7n).
Noting the comment block in the value section of the action block in the code below. I need to understand how to populate this field from an external command.
policies: - name: Example Tag Policy resource: aws.rds filters: - tag:Name MyCustomValue actions: - type: tag key: CreationTime value: (some string to return current timestamp)
I have yet to find in the Custodian Documentation how to natively populate this value field with a current timestamp and I have yet to find documentation on how to execute an external command.
All thoughts are welcomed!