-
-
Notifications
You must be signed in to change notification settings - Fork 225
Added rds as backing service #43
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
Conversation
aws/backing-services/rds.tf
Outdated
| variable "RDS_SNAPSHOT" { | ||
| type = "string" | ||
| default = "" | ||
| description = "Restore snapshots" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set to a snapshot ID to restore from snapshot
aws/backing-services/rds.tf
Outdated
| variable "RDS_PARAMETER_GROUP_NAME" { | ||
| type = "string" | ||
| default = "" | ||
| description = "Existed paramater group name to use" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Existing parameter group name to use
aws/backing-services/rds.tf
Outdated
| subnet_ids = ["${module.subnets.private_subnet_ids}"] | ||
| vpc_id = "${module.vpc.vpc_id}" | ||
| snapshot_identifier = "${var.RDS_SNAPSHOT}" | ||
| auto_minor_version_upgrade = "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameterize?
aws/backing-services/rds.tf
Outdated
| vpc_id = "${module.vpc.vpc_id}" | ||
| snapshot_identifier = "${var.RDS_SNAPSHOT}" | ||
| auto_minor_version_upgrade = "false" | ||
| allow_major_version_upgrade = "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameterize? (some users have been asking to be able to parameterize it)
aws/backing-services/rds.tf
Outdated
|
|
||
| output "rds_root_user" { | ||
| value = "${var.RDS_ADMIN_NAME}" | ||
| description = "RDS root name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RDS root user name
aknysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments.
also, let's rename the file to aws/backing-services/rds-mysql.tf since it's just for MySQL and we could have other RDS databases
No. The same |
aws/backing-services/rds.tf
Outdated
| enabled = "${var.RDS_ENABLED}" | ||
| namespace = "${var.namespace}" | ||
| stage = "${var.stage}" | ||
| name = "rds" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add and use variable name here
What
Why