Skip to content
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

Adds MySQL Resources #213

Merged
merged 2 commits into from
Oct 23, 2019
Merged

Adds MySQL Resources #213

merged 2 commits into from
Oct 23, 2019

Conversation

ghost
Copy link

@ghost ghost commented Oct 23, 2019

Description

Adds Resources, Documentation, TF and Tests/Controls for:

  • azurerm_mysql_server
  • azurerm_mysql_servers
  • azurerm_mysql_database
  • azurerm_mysql_databases

Also housekeeping of TF & caching of some methods in azurerm_sql_server & azurerm_sql_database.

Issues Resolved

Adds some of the functionality proposed in #161 which has gone stale. I have credited https://github.com/mikaelkrief as co-author.

Check List

Ruairi Fennell and others added 2 commits October 22, 2019 16:05
Signed-off-by: Ruairi Fennell <rfennell@chef.io>
Co-authored-by: Mikael Krief <krief_mikael@hotmail.com>
Signed-off-by: Ruairi Fennell <rfennell@chef.io>
@ghost ghost self-requested a review October 23, 2019 11:42
@ghost ghost added the Version: Bump Minor Used by github.minor_bump_labels to bump the Minor version number. label Oct 23, 2019
### Check MySQL Databases are present

describe azurerm_mysql_databases(resource_group: 'resource-group-1', server_name: 'production') do
it { should exist }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably isn't an issue with this PR, but I was wondering whether there is a need for exist in plural resources. I believe the same thing could be achieved through it { should_not be_empty }.

Copy link

@skpaterson skpaterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @r-fennell

Copy link
Contributor

@rmoles rmoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one. Thanks @r-fennell @mikaelkrief

@rmoles rmoles merged commit d8dae9e into master Oct 23, 2019
@rmoles rmoles deleted the SQL-Updates branch October 23, 2019 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants