Commit Graph

52 Commits

Author SHA1 Message Date
Julien Vey
8325c5f568 provider/gce: Add description in firewall resource 2015-02-06 13:33:02 +01: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
038debbba9 Multiple gcp improvements and new resources 2015-01-30 10:32:35 -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
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
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
stungtoat
3e2a09fc38 set default host on connection info 2014-10-19 00:04:17 -07:00
stungtoat
3851afbac7 consistent spacing 2014-10-18 23:17:14 -07:00
stungtoat
db1f68ad4a go fmt 2014-10-18 23:15:43 -07:00
stungtoat
298788b716 providers/google: add external_address; needed for connection 2014-10-18 23:03:37 -07:00
Mitchell Hashimoto
d9fefb9ee0 fmt 2014-10-10 14:50:35 -07:00
Mitchell Hashimoto
08e7a5bd85 Merge pull request #372 from jgoldschrafe/feature-google-compute-disk-types
Configurable disk types for GCE
2014-10-08 10:50:38 -07:00
Jeff Goldschrafe
ac46b83119 Support IP forwarding on GCE instances
This change exposes the CanIpForward property of the Instance, allowing
users to create instances that are allowed to function as NAT or VPN
gateways.
2014-10-07 12:28:20 -04:00
Jeff Goldschrafe
69c09c1cb7 Configurable disk types for GCE
Supports configuring the disk type for Google Compute Engine disk
resources. Both `google_compute_disk` and `google_compute_instance`
disk types are supported.

Resolves #351.
2014-10-07 01:40:20 -04:00
Mitchell Hashimoto
f30522f443 providers: fix tests 2014-09-28 17:32:39 -07:00
Mitchell Hashimoto
46eaef750d fmt 2014-09-28 11:51:49 -07:00
Mitchell Hashimoto
95bca5e6aa builtin: fix all compilation 2014-09-28 11:51:39 -07:00
Jeff Goldschrafe
97370fdac1 google_compute_firewall: Support target tags 2014-09-26 01:15:31 -04:00
Mitchell Hashimoto
51bfd6f6ef providers/google: tests passing, compiling 2014-09-16 17:17:09 -07:00
Mitchell Hashimoto
6fa0b65563 fmt 2014-09-09 13:43:03 -07:00
Dainis Tillers
1a6fc051ba Added - flag to set whether disk needs to be delete or not when instance terminates 2014-09-02 16:52:49 +03:00
Dainis Tillers
6aa3d2f0ec Fixed - allow to attach already existing disks 2014-09-02 16:52:21 +03: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
6cf9975f46 providers/google: compute_firewall partial state 2014-08-26 20:33:53 -07:00
Mitchell Hashimoto
5049f0b111 providers/google: partial updates with compute_instance 2014-08-26 20:31:35 -07:00
Mitchell Hashimoto
9b430b911e providers/google: compute_instance supports updating tags 2014-08-26 13:52:18 -07:00
Mitchell Hashimoto
fcba6626e4 providers/google: compute_instance supports updating metadata 2014-08-26 13:48:49 -07:00
Mitchell Hashimoto
6cb8517087 providers/google: compute_firewall update 2014-08-26 12:50:08 -07:00
Mitchell Hashimoto
36d4ec4fd4 providers/google: on refresh, treat 404 as resource gone 2014-08-25 22:49:14 -07:00
Mitchell Hashimoto
d4c23e9e85 providers/google: check operations for errors 2014-08-25 22:44:27 -07:00
Mitchell Hashimoto
76419efa94 providers/google: compute_route 2014-08-25 22:39:29 -07:00
Mitchell Hashimoto
0fd5e7947c providers/google: proper resource type in error message 2014-08-25 22:13:37 -07:00
Mitchell Hashimoto
18e06f907f providers/google: compute_firewall 2014-08-25 22:09:38 -07:00
Mitchell Hashimoto
7c430c89c3 providers/google: compute_network 2014-08-25 21:41:15 -07:00
Mitchell Hashimoto
f4113ecfda providers/google: support disks coming from other disks 2014-08-25 21:35:23 -07:00
Mitchell Hashimoto
5833d871ac fmt 2014-08-25 16:23:38 -07:00
Mitchell Hashimoto
5f79e59ed1 providers/google: compute_disk 2014-08-25 16:23:28 -07:00
Mitchell Hashimoto
7044ce907a providers/google: can assign IP to instance 2014-08-25 15:47:21 -07:00
Mitchell Hashimoto
0f0c34b674 providers/google: compute_instance supports metadata 2014-08-25 15:25:45 -07:00
Mitchell Hashimoto
d42c75315c providers/google: support tags on compute_instance 2014-08-25 15:10:30 -07:00
Mitchell Hashimoto
25e598a153 providers/google: compute_instance 2014-08-25 14:57:17 -07:00
Mitchell Hashimoto
07bf7cdc35 providers/google: compute_address tests 2014-08-25 13:56:40 -07:00