-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Has this module been tested with Aurora Serverless? #34
Comments
You can set module "db" {
source = "terraform-aws-modules/rds-aurora/aws"
name = "test-aurora-serverless"
engine = "aurora"
engine_mode = "serverless"
engine_version = "5.6.10a"
family = "aurora5.6"
# Do not create cluster instance for serverless.
replica_count = 0
instance_type = "db.t2.micro"
vpc_id = "vpc-12345678"
subnets = ["subnet-12345678", "subnet-87654321"]
} |
Check examples/serverless for serverless usage: terraform-aws-rds-aurora/examples/serverless/main.tf Lines 19 to 46 in 841228b
|
From terraform 0.12 on wards you can write scaling_configuration as https://www.terraform.io/docs/providers/aws/r/rds_cluster.html#scaling_configuration scaling_configuration { |
I am on tf v14 and aws provider version 3.21.0
In the plan:
|
ok, so!!! We created one manually, worked.. check cloudtrail for the requests.
|
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. |
instance_type
is not required for aurora serverless but the module makes this as required. Is it possible to give an example for how to create a serverless instance?The text was updated successfully, but these errors were encountered: