Commit Graph

12 Commits

Author SHA1 Message Date
stack72
1aacd62faf provider/google: Moving the XPN EnvVar check into provider_test.go to stop failed build 2016-12-13 19:29:23 +00:00
Bill Fumerola
efd1a3f727 Correct error messages in google provider test library 2016-05-10 10:59:11 -07:00
Seth Vargo
42d1600543 Read more default envvars for GCP
- Closes #5874
- Fixes #5872
2016-04-11 12:19:07 -04:00
Clint
9bcd3c0ad2 provider/google: Accept GOOGLE_CLOUD_KEYFILE_JSON env var for credentials 2016-04-04 16:56:35 -05:00
Matt Morrison
98f8b0b3c7 Add subnetwork resource ACC tests, additional doc updates 2016-02-18 08:37:58 -08:00
Paul Hinze
6cb95b49ee provider/google: Allow acctests to set credentials via file
Makes things easier on Travis.
2016-01-04 13:20:21 -06:00
Paul Hinze
04daa35b6e provider/google: read credentials as contents instead of path
Building on the work in #3846, shifting the Google provider's
configuration option from `account_file` to `credentials`.
2015-11-16 15:14:32 -06:00
Paul Hinze
4bc9add477 providers/google: fix instance creation
with this commit, the google compute instance acceptance tests are
passing

 - remove GOOGLE_CLIENT_FILE requirement from provider tests to finish
   out #452
 - skip extra "#" key that shows up in metadata maps, fixes #757 and
   sprouts #883 to figure out core issue
 - more verbose variablenames in metadata parsing, since it took me
   awhile to grok and i thought there might have been a shadowing bug in
   there for a minute. maybe someday when i'm a golang master i'll be
   smart enough to be comfortable with one-char varnames. :)
2015-01-28 15:50:56 -06:00
Sander van Harmelen
721edb1b9a providers/google: update schema to use a DefaultFunc
This makes testing easier and gives you a way to configure the provider
using env variables. It also makes the provider more inline following
the TF 0.2 approach.
2014-11-20 11:25:23 +01:00
Mitchell Hashimoto
f30522f443 providers: fix tests 2014-09-28 17:32:39 -07:00
Dainis Tillers
10bf8628a4 Require project id as otherwise it will fail with cryptic error 2014-09-02 16:49:16 +03:00
Mitchell Hashimoto
80e2023e6b providers/google: first pass 2014-08-25 11:48:20 -07:00