terraform/builtin/providers/azure
Paul Hinze ef5b6e93a9 provider/azure: fix issues loading config from homedir
Issues were:

 * `settings_file` `ValidateFunc` needs to expand homedir just like the
   `configure` does, otherwise ~-based paths fail validation
 * `isFile` was being called before ~-expand so configure was failing as well
 * `Config` was swallowing error so provider was ending up with `nil`,
   resulting in crash

To fix:

 * Consolidate settings_file path/contents handling into a single helper
   called from both `validate` and `configure` funcs
 * Return err from `Config`

To cover:

 * Added test case to validate w/ tilde-path
 * Added configure test w/ tilde-path
2015-10-13 16:57:11 -05:00
..
config.go provider/azure: fix issues loading config from homedir 2015-10-13 16:57:11 -05:00
constants.go Merge resources unto upstream. 2015-06-11 21:27:40 +03:00
errors.go provider/azure: Trap a specific Platform Image error in a new PlatformStorageError 2015-07-27 10:23:42 -05:00
provider.go provider/azure: fix issues loading config from homedir 2015-10-13 16:57:11 -05:00
provider_test.go provider/azure: fix issues loading config from homedir 2015-10-13 16:57:11 -05:00
resource_azure_affinity_group.go Added affinity group resource. 2015-06-19 21:53:36 +03:00
resource_azure_affinity_group_test.go Added affinity group resource. 2015-06-19 21:53:36 +03:00
resource_azure_data_disk.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_data_disk_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_dns_server.go remove various typos 2015-09-11 11:56:20 -07:00
resource_azure_dns_server_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_hosted_service.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_hosted_service_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_instance.go gofmt files from recently merged PRs 2015-10-07 13:35:06 -07:00
resource_azure_instance_test.go remove various typos 2015-09-11 11:56:20 -07:00
resource_azure_local_network.go Fixed void Azure network config bug. 2015-06-30 02:13:34 +03:00
resource_azure_local_network_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_security_group.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_security_group_rule.go Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
resource_azure_security_group_rule_test.go Made Azure security group rules - security groups relationship one - many. 2015-06-25 21:57:38 +03:00
resource_azure_security_group_test.go Made Azure security group rules - security groups relationship one - many. 2015-06-25 21:57:38 +03:00
resource_azure_sql_database_server.go Added Azure SQL server and service support. 2015-06-17 21:23:16 +03:00
resource_azure_sql_database_server_firewall_rule.go provider/aws: fix go vet 2015-06-30 12:35:54 -05:00
resource_azure_sql_database_server_firewall_rule_test.go Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
resource_azure_sql_database_server_test.go Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
resource_azure_sql_database_service.go remove various typos 2015-09-11 11:56:20 -07:00
resource_azure_sql_database_service_test.go Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
resource_azure_storage_blob.go Remove no-op Updates from resource schemas 2015-10-03 14:29:19 -07:00
resource_azure_storage_blob_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_storage_container.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_storage_container_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_storage_queue.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_storage_queue_test.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_storage_service.go Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
resource_azure_storage_service_test.go provider/azure: fixup storage service test 2015-06-29 16:55:26 -05:00
resource_azure_virtual_network.go Fixed void Azure network config bug. 2015-06-30 02:13:34 +03:00
resource_azure_virtual_network_test.go Made Azure security group rules - security groups relationship one - many. 2015-06-25 21:57:38 +03:00
resources.go First few azure resources... 2015-05-28 00:51:17 +02:00
utils_test.go Merge resources unto upstream. 2015-06-11 21:27:40 +03:00