There's an AWS CloudFormation stack which defines an SNS topic and an SNS subscription. In another Ansible task, I want to update another subscription, but this isn't possible as SNS subscriptions can't be updated.
Using Ansible to perform CloudFormation. What are the alternatives?
- Club AWS CLI with Ansible and then execute plays which contain AWS CLI content?
- Create a custom module in Ansible using
boto
? But this would be difficult as I should store SNS ARN's and give those to the custom module.