cloudposse / terraform-aws-rds-replica Goto Github PK
View Code? Open in Web Editor NEWTerraform module that provisions an RDS replica
Home Page: https://cloudposse.com/accelerate
License: Apache License 2.0
Terraform module that provisions an RDS replica
Home Page: https://cloudposse.com/accelerate
License: Apache License 2.0
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
main.tf
github.com/cloudposse/terraform-aws-route53-cluster-hostname tags/0.2.5
github.com/cloudposse/terraform-null-label tags/0.3.3
github.com/cloudposse/terraform-null-label tags/0.3.3
Replicas don't support final snapshots, but this module defines a final snapshot identifier. This causes an error preventing the replica instance from being destroyed.
Error: error deleting Database Instance "measurabl-ops-rds-app-replica-1": InvalidParameterCombination: FinalDBSnapshotIdentifier can not be specified when deleting a replica instance
Hello friends,
I am trying to create a vpc, and replicate an existing RDS instance. It's failing with error below :
Error: Incorrect attribute value type
on .terraform/modules/rds_replica/main.tf line 68, in resource "aws_db_subnet_group" "default":
68: subnet_ids = ["${var.subnet_ids}"]
Inappropriate value for attribute "subnet_ids": element 0: string required.
What am I doing wrong?
COde :
module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "2.6.0"
name = "terraform-vpc"
cidr = "13.0.0.0/16"
azs = data.aws_availability_zones.available.names
private_subnets = ["13.0.1.0/24", "13.0.2.0/24", "13.0.3.0/24"]
public_subnets = ["13.0.4.0/24", "13.0.5.0/24", "13.0.6.0/24"]
}
module "rds_replica" {
source = "git::https://github.com/cloudposse/terraform-aws-rds-replica.git?ref=master"
subnet_ids = ["${element(module.vpc.public_subnets, 0)}", "${element(module.vpc.public_subnets, 1)}"]
}
)
When creating a same_region
replica, the kms_id does not need to be set.
When it's set i get the following error:
aws_db_instance.default: Error creating DB Instance: InvalidParameterCombination: Your request does not require the KMS key parameter. Please remove the KMS key parameter and try your request again.
status code: 400, request id: xxxxx-yyyyyy
I get the following error attempting to create a read replica with this module:
aws_db_instance.default: Error creating DB Instance: DBSubnetGroupNotAllowedFault: DbSubnetGroupName should not be specified for read replicas that are created in the same region as the master
$> terraform -v
Terraform v0.11.13
+ provider.aws v2.0.0
+ provider.null v2.1.0
+ provider.template v2.1.0
The module hasn't been upgraded to support Terraform 0.12
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.