Editing Terraform module error: InvalidParameterCombination

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<code>[[aws rds delete-db-instance]] --db-instance-identifier your_database-1</code>
 
<code>[[aws rds delete-db-instance]] --db-instance-identifier your_database-1</code>
  
 +
An error occurred (InvalidParameterCombination) when calling the DeleteDBInstance operation: [[FinalDBSnapshotIdentifier]] is required unless [[SkipFinalSnapshot]] is specified.
  
 
 
== RDS ==
 
=== Max storage size must be greater than storage size ===
 
 
  ╷
 
  ╷
  │ [[Error: Error creating DB Instance]]: InvalidParameterCombination: [[Max storage size must be greater than storage size]]
+
  │ 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
 
  │ status code: 400, request id: cf03ba21-20f6-4b55-b6ec-e56a89dbcbb1
 
  │
 
  │
  │  with module.db.module.db_instance.[[aws_db_instance]].this[0],
+
  │  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":
 
  │  on ../../modules/db_instance/main.tf line 26, in resource "[[aws_db_instance]]" "this":
 
  │  26: resource "aws_db_instance" "this" {
 
  │  26: resource "aws_db_instance" "this" {
Line 17: Line 14:
 
  Related: <code>[[max_allocated_storage]]</code>
 
  Related: <code>[[max_allocated_storage]]</code>
  
=== A MonitoringRoleARN value is required if you specify a MonitoringInterval value ===
 
 
  ╷
 
  ╷
  │ [[Error: Error creating DB Instance]]: [[InvalidParameterCombination]]: A [[MonitoringRoleARN]] value is required if you specify a MonitoringInterval value other than 0.
+
│ 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
 
  │ status code: 400, request id: e2d2a148-70c8-44ab-a73e-6ca13d63ad7c
 
  │
 
  │
Line 28: Line 35:
 
  ╵
 
  ╵
  
=== Cannot find version 13.1 for aurora-postgresql ===
 
 
  ╷
 
  ╷
 
  │ Error: Error creating DB Instance: InvalidParameterCombination: [[Cannot find version]] 13.1 for [[aurora-postgresql]]
 
  │ Error: Error creating DB Instance: InvalidParameterCombination: [[Cannot find version]] 13.1 for [[aurora-postgresql]]
Line 41: Line 47:
 
   <code>[[aws rds describe-db-engine-versions --output text]] | grep [[DBENGINEVERSIONS]]  | grep "[[Aurora PostgreSQL]]"</code>
 
   <code>[[aws rds describe-db-engine-versions --output text]] | grep [[DBENGINEVERSIONS]]  | grep "[[Aurora PostgreSQL]]"</code>
  
=== Cannot upgrade [[aurora-postgresql]] from 11.13 to 11.12 ===
 
 
│ Error: Failed to modify RDS Cluster (aurora-postgresql): [[InvalidParameterCombination]]: Cannot upgrade [[aurora-postgresql]] from 11.13 to 11.12
 
│ status code: 400, request id: yyyy9-9efa-4e8d-9a1d-xxxx
 
 
│  with aws_rds_cluster.this[0],
 
│  on main.tf line 47, in resource "[[aws_rds_cluster]]" "this":
 
│  47: resource "[[aws_rds_cluster]]" "this" {
 
 
 
 
=== RDS does not support creating a DB instance with the following combination: ===
 
 
  │ Error: Error creating DB Instance: InvalidParameterCombination: RDS does not support creating a DB instance with the following combination:  
 
  │ 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.
+
  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
 
  │ status code: 400, request id: b7614447-937e-4da9-b51e-bed06b1ca07a
 
  │
 
  │
Line 62: Line 56:
 
  │
 
  │
 
  ╵
 
  ╵
Solution: select and instance class supported by aurora-postgresql, [[db.t3.medium]] minimum instead of [[db.t3.micro]]
 
 
=== The DB instance and EC2 security group are in different VPCs ===
 
 
│ [[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]]: Invalid [[iops]] to storage (GB) ratio ===
 
 
│ [[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" {
 
 
 
 
An error occurred (InvalidParameterCombination) when calling the [[DeleteDBInstance]] operation: [[FinalDBSnapshotIdentifier]] is required unless [[SkipFinalSnapshot]] is specified.
 
 
  
│ [[Error: deleting]] RDS Cluster (you-cluster-name): InvalidParameterCombination: Cannot delete protected Cluster, please disable [[deletion protection]] and try again.
 
  
 
== Related ==
 
== Related ==
 
* <code>[[InvalidVPCNetworkStateFault]]</code>
 
* <code>[[InvalidVPCNetworkStateFault]]</code>
 
* <code>[[max_allocated_storage]]</code>
 
* <code>[[max_allocated_storage]]</code>
* <code>[[InvalidParameterValue]]</code>
 
  
 
== See also ==
 
== See also ==
* {{InvalidParameterCombination}}
 
* {{aws_db_instance}}
 
 
* {{aws rds}}
 
* {{aws rds}}
 
* {{AWS VPC}}
 
* {{AWS VPC}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: