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
Refactor for multiple dbs, firewall, vnet rules #6
Conversation
Make resource group creation optional
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.
output "database_name" { | ||
description = "The database name of MySQL Server." | ||
value = azurerm_mysql_database.mysql.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.
why take this out?
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.
Because I'm using a map now to create multiple databases, thus the dbs var.
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.
ohh yeah that'll mess up the output that I don't know if we need. I think that makes this a major release?
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.
Yeah, I was tagging this 3.0.0
@@ -1,13 +1,18 @@ | |||
provider "azurerm" { | |||
version = ">=1.40.0" |
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.
This will cause problems if we're using a different provider version
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.
I can knock it down to a lesser version, but I haven't tested it on those.
Make resource group creation optional
This breaks heavily anyone using v2. Didn't update tests or documentation; will do that in a later revision.