AWS WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a
WAFOptimisticLockException
. If this happens, perform another
get
, and use the new token returned by that operation.
acoustic-spring-42110
06/15/2022, 5:37 PM
but I'm not sure how to force this
l
little-cartoon-10569
06/15/2022, 8:39 PM
Would
pulumi refresh
help?
a
acoustic-spring-42110
06/16/2022, 3:10 PM
I didn't seem too 😕
acoustic-spring-42110
06/16/2022, 3:11 PM
I ended up just blowing away the wafv2 and recreating it all again and now it's stopped complaining.. but I really don't know why.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.