https://pulumi.com logo
#aws
Title
# aws
g

gentle-flag-10945

01/28/2022, 9:17 PM
Hi, was wondering if anyone has been able to manage a Managed Prefix List. I'm getting the same errors as a couple other people in search history. I'm able to create the list fine, but if I change any entries, it consistently alternates between failing with an error and then no fail but no changes either. the error is:
Copy code
error updating EC2 Managed Prefix List (pl-0d8bdb0b40f06ae67): InvalidParameterValue: The specified value for version is not valid. The value must be greater than (
1).
In case anyone else has this error, there are workarounds. See https://github.com/pulumi/pulumi-aws/issues/1784 - the gist is you create the prefix list with no entries. After it is created, you add entries one at a time using something like `new ManagedPrefixListEntry(
${name}-e1
,{prefixListId: <prefix list id>, cidr: '123.123.123.123/32'})`
5 Views