-
Notifications
You must be signed in to change notification settings - Fork 32
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
aws/terraform: support for aws_db_instance #11
Conversation
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.
LGTM
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.
LGTM, just questions about documentation
var dbTypeMap = map[string]dbType{ | ||
"aurora": {"Aurora MySQL", ""}, | ||
"aurora-mysql": {"Aurora MySQL", ""}, | ||
"mariadb": {"MariaDB", ""}, | ||
"mysql": {"MySQL", ""}, | ||
"postgres": {"PostgreSQL", ""}, | ||
"oracle-se": {"Oracle", "Standard"}, | ||
"oracle-se1": {"Oracle", "Standard One"}, | ||
"oracle-se2": {"Oracle", "Standard Two"}, | ||
"oracle-ee": {"Oracle", "Enterprise"}, | ||
"sqlserver-se": {"SQL Server", "Standard"}, | ||
"sqlserver-ee": {"SQL Server", "Enterprise"}, | ||
"sqlserver-ex": {"SQL Server", "Express"}, | ||
"sqlserver-web": {"SQL Server", "Web"}, | ||
} |
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.
Does this include all types or are we missing some? I'm asking just in case of documentation
Speaking of contribution, would it be good to have some "collaboration" documentation, like "how to add a new resource" type of thing?
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.
It includes all of the possible engines: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html (can't link to the relevant section directly, but the list is under "Engine")
Yeah, it'd be great to have a CONTRIBUTING file, as well as a good README. I'll start working on them once we have the library working internally and we're ready to go OSS. 👍 (Added it as a point of #10 for now.)
This PR adds support for the
aws_db_instance
resource for both the ingesting and cost estimation.