This message was deleted.
# aws
s
This message was deleted.
t
* error creating RDS cluster: InvalidParameterCombination: The DB instance and EC2 security group are in different VPCs. The DB instance is in vpc-d937bdb0 and the EC2 security group is in vpc-0a8fd9f1ca9aeebcc
l
This is not a Pulumi issue, learn how AWS works
b
@tall-beard-99429 can you share your code?
@little-journalist-4778 we generally err on the side of being helpful in this slack
l
wasn't I helpful? I didn't mean to be rude but this is the truth
t
@little-journalist-4778 AWS allows you to choose a VPC. Pulumi allows you to choose a VPC Security Group. This is a pulumi thing, not AWS. I managed to solve this by making use of a RDS Subnet Group which by choosing your VPC's subnets on there, maps through to setting the VPC on the cluster and instances for you. I was expecting there to be a way on the actual RDS cluster itself to set a VPC
But, this is now resolved, thanks @billowy-army-68599