terraform/builtin/providers/postgresql
julius-bonial 5d8662d5da fix wrong usage of hashicorp/errwrap (#11500)
According to https://github.com/hashicorp/errwrap
'{{err}}' has to be used instead of '%s'

Without this patch, error output from terraform is missing important information:
* aws_cloudwatch_log_group.logs: Error Getting CloudWatch Logs Tag List: %s

With this patch, I get the important information. E.g.:
* aws_cloudwatch_log_group.logs: Error Getting CloudWatch Logs Tag List: AccessDeniedException: User: arn:aws:sts::XYZ:assumed-role/AAA-BBB-CCC/terraform-assuming-role-assume-role-ReadOnly is not authorized to perform: logs:ListTagsLogGroup on resource: arn:aws:logs:us-east-1:XYZ:log-group:logs:log-stream:
2017-01-29 19:19:48 +00:00
..
.gitignore provider/postgres: Ignore temporary Postgres data 2016-12-27 15:13:27 -06:00
GNUmakefile Add an Exists function for each resource type. Also add a provider RWMutex. 2016-12-27 15:50:25 -08:00
config.go Audit all call sites where `fmt.Errorf()` was being used and switch to errwrap. 2016-12-27 15:50:25 -08:00
helpers.go Fix up helpers. 2016-12-12 14:30:25 -08:00
provider.go fix wrong usage of hashicorp/errwrap (#11500) 2017-01-29 19:19:48 +00:00
provider_test.go Remove the PGPASSWORD requirement for tests. 2016-12-10 12:32:17 +11:00
resource_postgresql_database.go remove computed true for postgres connections 2017-01-11 22:55:50 +01:00
resource_postgresql_database_test.go gofmt cleanup on imports. 2016-12-12 15:21:20 -08:00
resource_postgresql_extension.go Use `fmt.Fprint()` instead of `Fprintf()`. 2016-12-27 15:50:25 -08:00
resource_postgresql_extension_test.go Add the version attribute to postgresql_extension. 2016-12-12 14:37:40 -08:00
resource_postgresql_role.go Follow up to #11161 to fix `connection_limit` updates to a ROLE. 2017-01-11 16:24:00 -08:00
resource_postgresql_role_test.go provider/postgresql: Fix failing acceptance test (#11375) 2017-01-24 14:10:56 +02:00
resource_postgresql_schema.go Add an Exists function for each resource type. Also add a provider RWMutex. 2016-12-27 15:50:25 -08:00
resource_postgresql_schema_test.go Before revoking a privilege from a schema, check to ensure role exists. 2016-12-25 06:13:34 -08:00