I'm having issues updating/modifying AWS Config via CloudFormation. The use case is to begin streaming changes to an SNS Topic on an existing AWS Config delivery channel that currently only has an S3 bucket configured on it.
Code looks like the following:
"ConfigDeliveryChannel": {
"Type": "AWS::Config::DeliveryChannel",
"Properties": {
"S3BucketName": {"Ref": "ConfigBucket"},
"SnsTopicARN": {
"Ref": "ConfigTopic"
}
}
},
Pretty basic stuff. I've tried to leave off the bucket since I don't want to update that, but CloudFormation complained it was required. Ok, so I now have a parameter to take in the bucket name. The SNS topic is a resource created further down in my template. However when I execute my stack I get the following error:
Failed to put delivery channel '<name>' because the maximum number of delivery channels: 1 is reached. (Service: AmazonConfig; Status Code: 400; Error Code: MaxNumberOfDeliveryChannelsExceededException; )
So how can this be done? Is this an impossible task via CloudFormation and must be done by hand via the console? Thanks in advance!