Difference between revisions of "Terraform module error: InvalidParameterCombination"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
╷ | ╷ | ||
− | │ [[Error: Error creating DB Instance]]: [[InvalidParameterCombination]]: A [[MonitoringRoleARN]] value is required if you specify a MonitoringInterval value other | + | │ [[Error: Error creating DB Instance]]: [[InvalidParameterCombination]]: A [[MonitoringRoleARN]] value is required if you specify a MonitoringInterval value other than 0. |
− | |||
│ status code: 400, request id: e2d2a148-70c8-44ab-a73e-6ca13d63ad7c | │ status code: 400, request id: e2d2a148-70c8-44ab-a73e-6ca13d63ad7c | ||
│ | │ |
Revision as of 04:48, 24 August 2022
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 DB Instance: InvalidParameterCombination: Max storage size must be greater than storage size
│ status code: 400, request id: cf03ba21-20f6-4b55-b6ec-e56a89dbcbb1
│
│ with module.db.module.db_instance.aws_db_instance.this[0],
│ on ../../modules/db_instance/main.tf line 26, in resource "aws_db_instance" "this":
│ 26: resource "aws_db_instance" "this" {
│
╵
Related: max_allocated_storage
╷ │ 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" { │
╷ │ Error: Error creating DB Instance: InvalidParameterCombination: A MonitoringRoleARN value is required if you specify a MonitoringInterval value other than 0. │ status code: 400, request id: e2d2a148-70c8-44ab-a73e-6ca13d63ad7c │ │ with module.db.module.db_instance.aws_db_instance.this[0], │ on ../../modules/db_instance/main.tf line 26, in resource "aws_db_instance" "this": │ 26: resource "aws_db_instance" "this" { │ ╵
╷ │ Error: Error creating DB Instance: InvalidParameterCombination: Cannot find version 13.1 for aurora-postgresql │ status code: 400, request id: ca8f076c-6686-4cbd-a6f7-f2c1a2743074 │ │ with module.db_aurora.module.db_instance.aws_db_instance.this[0], │ on ../../modules/db_instance/main.tf line 26, in resource "aws_db_instance" "this": │ 26: resource "aws_db_instance" "this" { │ ╵ Solution:dBParameterGroupFamily
aws rds describe-db-engine-versions --output text | grep DBENGINEVERSIONS | grep "Aurora PostgreSQL"
│ Error: Error creating DB Instance: InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t3.micro, Engine=aurora-postgresql, EngineVersion=13.7, LicenseModel=postgresql-license. For supported combinations of instance class and database engine version, see the documentation. │ status code: 400, request id: b7614447-937e-4da9-b51e-bed06b1ca07a │ │ with module.db_aurora.module.db_instance.aws_db_instance.this[0], │ on ../../modules/db_instance/main.tf line 26, in resource "aws_db_instance" "this": │ 26: resource "aws_db_instance" "this" { │ ╵ Solution: select and instance class supported by aurora-postgresql, db.t3.medium minimum instead of db.t3.micro
╷ │ Error: Error creating DB Instance: InvalidParameterCombination: Invalid iops to storage (GB) ratio for engine name aurora-postgresql and storage type aurora: 0.0000 │ status code: 400, request id: 97942c23-5208-4f81-9072-5bb0011ea823 │ │ with module.db_aurora.module.db_instance.aws_db_instance.this[0], │ on ../../modules/db_instance/main.tf line 26, in resource "aws_db_instance" "this": │ 26: resource "aws_db_instance" "this" { │ ╵
Related
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: