Commit Graph

389 Commits

Author SHA1 Message Date
David Watson
13dbe2e991 Update GCE Instance Template tests now that existing disk must exist prior to template creation. 2015-03-18 17:42:03 +00:00
David Watson
56c5854e5b Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
stungtoat
86913b0363 add network field to the network_interface 2015-03-06 22:13:07 -08:00
David Watson
1e28af1b46 Tests for GCE autoscaler resource. 2015-03-04 10:15:26 +00:00
David Watson
43cb8ff2a9 Initial commit of autoscaler resource. 2015-03-04 10:14:59 +00:00
Mitchell Hashimoto
dee37aa1dd providers/google: set only top-level configs for lists [GH-929] 2015-03-02 10:00:24 -08:00
Dave Cunningham
8a96c0c41e Remove unnecessary ; 2015-02-23 13:35:07 -05:00
Dave Cunningham
4d28f60235 Fix argument order 2015-02-23 13:30:41 -05:00
Mitchell Hashimoto
9b5d40c2e3 fmt 2015-02-20 10:22:26 -08:00
David Watson
a670b907c3 Remove debugging log lines. 2015-02-19 16:31:11 +00:00
David Watson
0fa06bae2e Update tests to include updated network definition for instance templates from #980. 2015-02-19 11:47:53 +00:00
David Watson
2187833dee Remove old todo comment. 2015-02-19 11:43:18 +00:00
David Watson
c3776cae0f Update Instance Template network definition to match changes to Instances. 2015-02-16 17:04:56 +00:00
David Watson
5f0cee4485 Add InstanceGroupManager to GCE. 2015-02-16 16:06:23 +00:00
Dave Cunningham
e4cf7e8924 Make Google Instance disk attribute all ForceNew. Fix #608. 2015-02-13 14:23:49 -05:00
Dave Cunningham
1ef2cf1610 Use new oauth2 golang library 2015-02-11 21:21:24 -05:00
Dave Cunningham
4d666a6dc4 Revert to upstream oauth2 2015-02-11 01:46:40 -05:00
Dave Cunningham
ac252b79bd Merge branch 'master' into oauth2 2015-02-11 00:37:13 -05:00
Paul Hinze
319be5d465 Merge pull request #959 from BashtonLtd/gce_instance_template
GCE instance template support
2015-02-10 08:57:45 -06:00
David Watson
cdfdf0faeb Remove leftover todo comment. 2015-02-10 14:31:43 +00:00
Paul Hinze
f458187d86 Merge pull request #960 from BashtonLtd/gce_self_links
Add SelfLink fields to all GCE resources
2015-02-10 08:10:20 -06:00
David Watson
b6df2ff983 Add SelfLink field to GCE route resource. 2015-02-10 11:15:07 +00:00
David Watson
531bd09ae4 Add SelfLink field to GCE network resource. 2015-02-10 11:14:37 +00:00
David Watson
ddb8b21f3c Add SelfLink field to GCE firewall resource. 2015-02-10 11:14:15 +00:00
David Watson
3f7ab15362 Add SelfLink field to GCE disk resource. 2015-02-10 11:13:55 +00:00
David Watson
177dc25184 Add optional to disk_name field. 2015-02-10 10:49:20 +00:00
David Watson
f6cce72115 Add tests for Instance Template support to google provider. 2015-02-10 10:29:49 +00:00
David Watson
8782cff95e Add Instance Template support to google provider. 2015-02-10 10:29:27 +00:00
Dave Cunningham
95943e4a3f Merge branch 'master' into gcp_image 2015-02-10 03:25:45 -05:00
Dave Cunningham
46a75cf47f Merge branch 'master' into oauth2 2015-02-09 20:07:36 -05:00
Paul Hinze
8985f5a4df Merge pull request #951 from sparkprime/fix_health_check
Fix a number of healthcheck bugs
2015-02-09 18:50:14 -06:00
Paul Hinze
c80ce9bb19 Merge pull request #937 from sparkprime/pr_network_interface
Deprecated 'network', introduce 'network_interface'
2015-02-09 18:49:56 -06:00
Dave Cunningham
a1b137d529 Fix whitespace 2015-02-07 19:05:19 -05:00
Dave Cunningham
e54a9638a8 Fix a number of healthcheck bugs 2015-02-07 19:03:18 -05:00
Julien Vey
8325c5f568 provider/gce: Add description in firewall resource 2015-02-06 13:33:02 +01:00
Dave Cunningham
f307417694 Deprecated 'network', introduce 'network_interface' 2015-02-06 03:21:22 -05:00
Paul Hinze
8b64b7ec27 Merge pull request #906 from BashtonLtd/gce_instance_selflink
Expose SelfLink field for GCE instances.
2015-02-03 15:46:46 -06:00
Dave Cunningham
284a27c364 Remove service_accounts (legacy dupe of service_account) 2015-02-03 16:16:41 -05:00
David Watson
33c817e1b5 Expose SelfLink for GCE instances to allow other resources to reference instances. 2015-02-02 09:46:35 +00:00
Dave Cunningham
e88a6d2034 Port to oauth2, fix #606 2015-01-30 14:53:09 -05:00
Dave Cunningham
038debbba9 Multiple gcp improvements and new resources 2015-01-30 10:32:35 -06:00
Dave Cunningham
d9add1b513 Allow specifying project or full URL when specifying image 2015-01-29 20:00:02 -05: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
stungtoat
fc664bc4a2 providers/google: remove secrets file
fixes #452
2015-01-28 15:47:49 -06:00
Jeff Mitchell
57273b4844 Move duplicated envDefaultFunc out of each provider and into Schema. 2015-01-16 17:25:39 +00:00
Armon Dadgar
80facc343c Merge pull request #725 from jgoldschrafe/feature-google-compute-service-accounts
Support service accounts on GCE instances
2015-01-05 11:30:38 -08:00
Jeff Goldschrafe
c7c90dd595 Support service accounts on GCE instances
Update the Google Compute Engine provider to add support for service
accounts on `google_compute_instance`. Both gcloud shorthand (`compute-ro`,
`storage-ro`, etc.) and OAuth2 API endpoints are supported.

This feature is currently limited to a single service account (supporting
multiple scopes) and an automatically-generated service account email.
2015-01-02 01:25:19 -05:00
Ferran Rodenas
7e39d8be96 provider/google: Add Ubuntu images
Ubuntu images are now GA, so add them to the list of available public images
2014-12-31 03:16:52 -08:00
Sander van Harmelen
0abe48fa03 Fixing the acc tests
I do wonder when these tests where last run successfully… Must be quite
some time ago considering what I needed to fix in here 😉
2014-11-20 14:30:02 +01:00
Sander van Harmelen
ede6d4bc80 Refactoring the resourceInstanceTags func just a little
My eye caught this somewhat un-logic mixed use of ‘vs’ and
‘v.(*schema.Set)’, so thought to make it a little cleaner…
2014-11-20 11:32:15 +01:00