Difference between revisions of "Error: Error creating DB Instance"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
╷ | ╷ | ||
− | │ Error: Error creating DB Instance: InvalidVPCNetworkStateFault: Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again | + | │ Error: Error creating DB Instance: InvalidVPCNetworkStateFault: Cannot create a publicly accessible DBInstance. The specified VPC does not support [[DNS resolution]], [[DNS hostnames]], or both. Update the VPC and then try again |
│ status code: 400, request id: e7048bb2-081a-4340-8d4c-938b6ee76532 | │ status code: 400, request id: e7048bb2-081a-4340-8d4c-938b6ee76532 | ||
│ | │ | ||
Line 10: | Line 10: | ||
╵ | ╵ | ||
+ | ╷ | ||
+ | │ 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" { | ||
+ | │ | ||
+ | ╵ | ||
− | [[Error: | + | ╷ |
+ | │ [[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]]: [[DBInstanceAlreadyExists]]: [[DB instance already exists]] | ||
+ | │ status code: 400, request id: 0e62aacd-44e0-4772-9f85-cc9d3864xxx | ||
+ | │ | ||
+ | │ with module.db_default.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 == | ||
+ | enable_dns_hostnames = true | ||
+ | enable_dns_support = true | ||
+ | * <code>[[Error: modifying DB Instance]]</code> | ||
+ | * [[Terraform resource:]] | ||
+ | * <code>[[aws rds create-db-instance]]</code> | ||
+ | * [[Terraform resource]]: <code>[[Terraform resource: aws_db_instance|aws_db_instance]]</code> | ||
+ | * [[Still destroying...]] | ||
== See also == | == See also == | ||
* {{terraform plan}} | * {{terraform plan}} | ||
* {{terraform apply}} | * {{terraform apply}} | ||
+ | |||
+ | |||
+ | [[Category:Terraform]] |
Latest revision as of 22:51, 5 June 2022
╷ │ Error: Error creating DB Instance: InvalidVPCNetworkStateFault: Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again │ status code: 400, request id: e7048bb2-081a-4340-8d4c-938b6ee76532 │ │ with module.db_default.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: 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" { │ ╵
╷ │ 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: DBInstanceAlreadyExists: DB instance already exists │ status code: 400, request id: 0e62aacd-44e0-4772-9f85-cc9d3864xxx │ │ with module.db_default.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[edit]
enable_dns_hostnames = true enable_dns_support = true
Error: modifying DB Instance
- Terraform resource:
aws rds create-db-instance
- Terraform resource:
aws_db_instance
- Still destroying...
See also[edit]
terraform plan
: [-refresh-only | -lock=false
|-target
|-var-file
|will be created
|--help
], Terraform plan errors, Terraform plan examples, Terraform plan execution errors, (known after apply)terraform apply
[-auto-approve
|-refresh-only, -destroy | --help ]
, Terraform examples,Still creating...
, Terraform apply examples with errors
Advertising: