You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before I could use {now} in the S3 URL but after updating to the latest version (c7n==0.9.30), {now} doesn't expand anymore and the policy errors out as it can't find the object. This issue only exists in periodic mode, pull mode expands the URL normally.
What did you expect to happen?
{now} should expand for value_from.url in a filter when running in serverless mode.
Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
hmm.. that's odd, and worth investigating, the purpose of #8509 was to defer expanding now till server less policy execution, it was previously expanding at provisioning time for the function.
Describe the bug
I have a filter that gets value from an S3 object with a key that contains the current date.
Before I could use
{now}
in the S3 URL but after updating to the latest version (c7n==0.9.30),{now}
doesn't expand anymore and the policy errors out as it can't find the object. This issue only exists inperiodic
mode,pull
mode expands the URL normally.What did you expect to happen?
{now}
should expand forvalue_from.url
in a filter when running in serverless mode.Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
Policy
Extra information or context
I am quite certain that the issue originated from #8509. Downgrading to 0.9.26 fixed the issue.
The text was updated successfully, but these errors were encountered: