11/24/2020, 9:06 PM
I'm having problems updating a recently-imported SNS TopicPolicy. I'm getting the less-then-helpful error InvalidParameter: Invalid parameter: Policy Error: null. Since the only field I'm updating is the policy doc, I'm guessing the error is there. I'm guessing the format of the doc based on IAM policy docs, so maybe I'm making mistakes. Is there an example of creating an SNS TopicPolcy in Pulumi anywhere? Or a spec for TopicPolicy policy documents?


11/25/2020, 11:19 AM
Can you give any more information on what you're trying to update? I've just created an SNS topic, imported the policy and updated it and it's been ok.
What version of the aws provider are you using?