/terraform-aws-rds

Helps to deploy an RDS DB instance

Primary LanguageHCLApache License 2.0Apache-2.0

Slalom

terraform-aws-rds

Build Status Latest Release pre-commit pre-commit

Terraform module - creates an RDS instance.


It's 100% Open Source and licensed under the APACHE2.

Usage

Include this repository as a module in your existing Terraform code:

module "rds" {
  source            = "JamesWoolfenden/rds/aws"
  version           = "0.0.5"
  common_tags       = var.common_tags
  subnet_ids        = var.subnets
  instance          = var.instance
  instance_password = "Password123"
  rds_role          = data.aws_iam_role.rds
  kms_key_id        = data.aws_kms_key.rds.id
}

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
common_tags This is to help you add tags to your cloud objects map n/a yes
db_subnet_group_name The name of the subnet to use for the database string "default" no
instance n/a any n/a yes
instance_password n/a any n/a yes
kms_key_id The ARN of the KMS key string "aws/rds" no
publicly_accessible To comply with security rules CKV_AWS_17 this defaults to false bool false no
rds_role The IAM ARN of the role for RDS monitoring string "" no
subnet_group n/a list
[
{
"description": "",
"name_prefix": "jgw"
}
]
no
subnet_ids A list of Subnet ids list n/a yes

Outputs

Name Description
instance n/a
security_group n/a

Related Projects

Check out these related projects.

Help

Got a question?

File a GitHub issue.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Copyrights

Copyright © 2019-2020 Slalom, LLC

License

License

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributors

James Woolfenden
James Woolfenden