Update internal/backend/remote-state/gcs/backend.go

Co-authored-by: appilon <apilon@hashicorp.com>
pull/29719/head
megan07 5 years ago committed by GitHub
parent 81201d69a3
commit 7dda3366a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,7 +143,7 @@ func (b *Backend) configure(ctx context.Context) error {
}
if !json.Valid([]byte(contents)) {
return fmt.Errorf("contents of credentials are invalid")
return fmt.Errorf("contents of credentials are invalid json")
}
credOptions = append(credOptions, option.WithCredentialsJSON([]byte(contents)))

Loading…
Cancel
Save