https://pulumi.com logo
Title
q

quiet-leather-94755

05/12/2021, 9:54 AM
Hi all, I seem to get an error when Pulumi tries to update a Managed Prefix List:
error updating EC2 Managed Prefix List (pl-......): InvalidParameterValue: The specified value for version is not valid. The value must be greater than (1).
Am I doing something wrong, or is there a bug here somewhere? šŸ˜… EDIT: Never mind, worked fine with Pulumi 3.2.1! (was on 2.23.1) EDIT: It failed with 3.2.1, too.. but works if I try again?! EDIT: It only pretends to work on the second attempt, but doesn't change anything..
g

gentle-flag-10945

01/28/2022, 9:14 PM
Did you ever figure this out? I am having the exact same issue. Every other time it pretends to work. When I get an error it complains about the version:
~ versionĀ Ā Ā : 1 => output<string>
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'})`