https://pulumi.com logo
Title
s

salmon-optician-54886

03/31/2022, 3:18 AM
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
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

little-cartoon-10569

03/31/2022, 3:24 AM
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

salmon-optician-54886

03/31/2022, 3:28 AM
ah looks like the issue was with
times=["01:05"],
. worked after I changed it to
times="01:05",
🎉 1