Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to create an Aurora DB through terraform #2882

Closed
tayzlor opened this issue Jul 29, 2015 · 8 comments
Closed

Is it possible to create an Aurora DB through terraform #2882

tayzlor opened this issue Jul 29, 2015 · 8 comments

Comments

@tayzlor
Copy link

tayzlor commented Jul 29, 2015

I gather from here this might not be possible - http://docs.aws.amazon.com/AmazonRDS/latest/CommandLineReference/CLIReference-cmd-CreateDBInstance.html (since theres no mention of aurora)

I'm trying with the following configuration -

resource "aws_db_instance" "aurora" {
    identifier = "testdb-rds"
    allocated_storage = 100
    engine = "aurora"
    engine_version = "5.6.10a"
    instance_class = "db.r3.large"
    name = "test"
    username = "test"
    password = "test1234"
    db_subnet_group_name = "${aws_db_subnet_group.aurora.name}"
    vpc_security_group_ids   = ["${aws_security_group.default.id}"]
}

resource "aws_db_subnet_group" "aurora" {
    name = "aurora"
    description = "Our aurora group of subnets"
    subnet_ids = ["${aws_subnet.private.0.id}"]
}

I have a private VPC subnet and security group set up elsewhere in other .tf files.

Which is giving the following error -

* Error creating DB Instance: InvalidParameterCombination: Standalone DB Instances are not supported for the specified engine
    status code: 400, request id: [0c8d3c80-35ea-11e5-8612-7714ac2ff77e]

If I change it to create a default RDS mysql DB it works -

resource "aws_db_instance" "aurora" {
    identifier = "mydb-rds"
    allocated_storage = 10
    engine = "mysql"
    engine_version = "5.6.23"
    instance_class = "db.t1.micro"
    name = "test"
    username = "test"
    password = "test1234"
    db_subnet_group_name = "${aws_db_subnet_group.aurora.name}"
    vpc_security_group_ids   = ["${aws_security_group.default.id}"]
}
@tayzlor tayzlor changed the title Is it possible to create aurora DB instance through terraform Is it possible to create an Aurora DB through terraform Jul 29, 2015
@stack72
Copy link
Contributor

stack72 commented Jul 29, 2015

@tayzlor I don't even believe there is a cloudformation setup for it yet as the public API will be released later

@tayzlor
Copy link
Author

tayzlor commented Jul 29, 2015

cool, thought this might be the case, thanks!

@stack72
Copy link
Contributor

stack72 commented Jul 29, 2015

@tayzlor btw, I immediately looked for the APIs as well yesterday when it was released so you are certainly on the ball :)

@catsby
Copy link
Contributor

catsby commented Jul 29, 2015

Correct, not available yet 😄
I have an issue open on the SDK if you want to watch aws/aws-sdk-go#328

Aurora is on my short list once it's available

@catsby catsby closed this as completed Jul 29, 2015
@catsby
Copy link
Contributor

catsby commented Jul 30, 2015

Aurora just came out in release v0.7.1, I plan on starting on it tomorrow

@dalehamel
Copy link

@catsby did you make any progress on aurora? We're looking at using it

@catsby
Copy link
Contributor

catsby commented Aug 20, 2015

Yup see #2935

@ghost
Copy link

ghost commented May 1, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants