Terraform module error: InvalidParameterCombination
Jump to navigation
Jump to search
aws rds delete-db-instance --db-instance-identifier your_database-1
An error occurred (InvalidParameterCombination) when calling the DeleteDBInstance operation: FinalDBSnapshotIdentifier is required unless SkipFinalSnapshot is specified.
╷ │ Error: error creating RDS cluster: InvalidParameterCombination: The DB instance and EC2 security group are in different VPCs. The DB instance is in vpc-52c0cc2a and the EC2 security group is in vpc-0d2733220232865db │ status code: 400, request id: 5460e4ab-9b51-412a-8e1c-13657632f052 │ │ with module.db.aws_rds_cluster.this[0], │ on .terraform/modules/yourfile.tf line 46, in resource "aws_rds_cluster" "this": │ 46: resource "aws_rds_cluster" "this" { │
See also
- AWS RDS:
AWS::RDS
,aws rds
[create-db-instance | create-db-instance-read-replica
|describe-db-instances
|modify-db-instance | modify-db-cluster | create-db-subnet-group
|delete-db-instance
|create-db-snapshot | aws rds create-db-parameter-group
],AllocatedStorage, FreeStorageSpace
- AWS VPC, AWS default VPC, AWS VPC sharing, AWS subnets, Amazon VPC NAT gateway, Amazon VPN internet gateway, VPC Flow Logs,
aws ec2 create-vpc
,aws ec2 describe-vpcs
, NACL, VPC Scenarios, AWS VPC endpoint, AWS ClassicLink, VPC peering, Reachability Analyzer, AWS internet gateway, VPC Lattice,vpce.amazonaws.com
Advertising: