terraform/builtin/providers/mysql
stack72 7b482cca9b provider/mysql: Empty Provider Credentials Caused Panic
There are currently no checks on username and endpoint in the provider
schema from being an empty value. This PR adds support to make sure that
endpoint and username are not empty strings as that can cause a panic

Results of the PR:

```
 % terraform apply
There are warnings and/or errors related to your configuration. Please
fix these before continuing.

Errors:

  * provider.mysql: Endpoint must not be an empty string
```
2016-06-17 11:32:30 +01:00
..
provider.go provider/mysql: Empty Provider Credentials Caused Panic 2016-06-17 11:32:30 +01:00
provider_test.go mysql provider and mysql_database resource. 2015-12-16 17:59:35 -08:00
resource_database.go mysql provider and mysql_database resource. 2015-12-16 17:59:35 -08:00
resource_database_test.go mysql provider and mysql_database resource. 2015-12-16 17:59:35 -08:00