Hi, has anyone used `aws.dlm.LifecyclePolicy` ? (i...
# general
s
Hi, has anyone used
aws.dlm.LifecyclePolicy
? (im trying to create ebs snapshots on a cron) I tried to run the one in the docs but am running into this error
Copy code
raise AssertionError(f"Unexpected type. Expected 'list' got '{typ}'")
    AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
and am not sure what’s causing this
l
Unlikely to be anything in the LifecyclePolicy itself. Can you isolate your code that's causing it and post it here? Slack's "Text snippet" tool (in the "+" menu) is the best was to post medium/large chunks of code.
s
ah looks like the issue was with
times=["01:05"],
. worked after I changed it to
times="01:05",
🎉 1