AWS CloudFormation: CREATE_FAILED DBSecurityGroup is not supported in this region (London)

Question:

I am trying to reapply a cloudformer template from another account but in the same region, EU-West-2 (London). When I apply the template I get the following error:

The relevant part of the template is:

How come this can’t be reapplied to the account?

Answer:

I got same error when used eu-central-1 region. After examining awslabs example I assumed that in that (and probably also cn-north-1 region) you have to not use AWS::RDS::DBSecurityGroup and use AWS::EC2::SecurityGroup within VPCSecurityGroups property instead.

Leave a Reply