Commit Graph

66 Commits

Author SHA1 Message Date
Matt Morrison
c502799c23 Make network attribute more consistent.
Some google resources required network be refernced by resource URL (aka self_link), while others required network name.
This change allows either to be supplied.

DRY it out, and add a fix for #5552.
2016-09-05 08:02:54 +12:00
Evan Brown
a3d48ab948 providers/google: Add google_compute_image resource (#7960)
* providers/google: Add google_compute_image resource

This change introduces the google_compute_image resource, which allows
Terraform users to create a bootable VM image from a raw disk tarball
stored in Google Cloud Storage. The google_compute_image resource
may be referenced as a boot image for a google_compute_instance.

* providers/google: Support family property in google_compute_image

* provider/google: Idiomatic checking for presence of config val

* vendor: Update Google client libraries
2016-08-12 12:35:33 +10:00
Noah Webb
27ffab3a75 provider/google: Support Import of 'google_compute_autoscaler' 2016-08-10 16:19:31 -04:00
Seth Vargo
42d1600543 Read more default envvars for GCP
- Closes #5874
- Fixes #5872
2016-04-11 12:19:07 -04:00
Seth Vargo
9756d62378 Accept "project" as an attribute to GCP resources
This is the first step in removing the config dependency on "project".
This change is backwards-compatible because the value for this new
attribute defaults to the value from the provider.
2016-04-10 13:01:24 -04:00
Seth Vargo
88c035fa88 Make GCP provider "project" attribute optional 2016-04-10 13:01:23 -04:00
Clint
9bcd3c0ad2 provider/google: Accept GOOGLE_CLOUD_KEYFILE_JSON env var for credentials 2016-04-04 16:56:35 -05:00
Lars Wander
67b35fb02a Merge pull request #4087 from ajcrowe/google-instance_groups
provider/google: Support for unmanaged instance groups (google_compute_instance_group)
2016-02-26 15:33:08 -05:00
Alex Crowe
4cf19278e7 Added google_compute_instance_group resource 2016-02-26 18:41:35 +00:00
James Nugent
438f0dd680 Remove TODO comment 2016-02-18 08:37:58 -08:00
Matt Morrison
98f8b0b3c7 Add subnetwork resource ACC tests, additional doc updates 2016-02-18 08:37:58 -08:00
Matt Morrison
9fd044c0f0 Update google resources where necessary to make use of subnetworks, update som docs 2016-02-18 08:37:58 -08:00
Matt Morrison
7d97c69498 [WIP] support for creating distributed networks, and subnetwork resources 2016-02-18 08:37:57 -08:00
Lars Wander
68351ed44d provider/google: SQL user resource, documentation & tests 2016-01-13 16:33:08 -05:00
Lars Wander
8e4cd40c65 provider/google: gofmt 2015-12-11 12:59:13 -05:00
pat
9fbfce3add golang pubsub SDK has been released. moved topics/subscriptions to use that
Conflicts:
	builtin/providers/google/provider.go
	builtin/providers/google/resource_subscription.go
	builtin/providers/google/resource_subscription_test.go

golang pubsub SDK has been released.  moved topics/subscriptions to use that

Conflicts:
	builtin/providers/google/provider.go
	builtin/providers/google/resource_subscription.go
	builtin/providers/google/resource_subscription_test.go

file renames and add documentation files

remove typo'd merge and type file move

add to index page as well

only need to define that once

remove topic_computed schema value

I think this was used at one point but is no longer. away.

cleanup typo

adds a couple more config values

- ackDeadlineSeconds: number of seconds to wait for an ack
- pushAttributes: attributes of a push subscription
- pushEndpoint: target for a push subscription

rearrange to better match current conventions

respond to all of the comments
2015-12-02 10:36:00 -08: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
Lars Wander
217772ca27 provider/google: HTTPS health checks resource + tests & documentation 2015-11-12 10:48:26 -05:00
Dave Cunningham
3a2092212c Merge pull request #3702 from lwander/f-gcp-global-forwarding-rule
provider/google: global forwarding rule tests & documentation
2015-11-03 13:41:08 -05:00
Lars Wander
d7a3cc4828 provider/google: global forwarding rule tests & documentation 2015-11-03 13:31:46 -05:00
Lars Wander
bb967e755c provider/google: Target HTTPS proxy resource + tests & documentation 2015-11-03 12:34:13 -05:00
Lars Wander
c29586552f provider/google: target http proxies resource + tests & documentation 2015-11-03 08:54:30 -05:00
Lars Wander
70ba555ecb provider/google: Added url map resource + tests & documentation 2015-11-02 17:12:41 -05:00
Dave Cunningham
6abde4acc7 Merge pull request #3723 from lwander/f-gcp-ssl-certs
provider/google: SSL Certificates resource + tests & documentation
2015-11-02 14:44:19 -05:00
Lars Wander
19a21e804e provider/google: SSL Certificates resource + tests & documentation 2015-11-02 14:35:51 -05:00
Lars Wander
120f54210a provider/google: global address + tests & documentation 2015-10-30 17:57:09 -04:00
Lars Wander
c3e204a054 provider/google: SQL instance & database tests & documentation 2015-10-30 15:35:29 -04:00
Lars Wander
338398e8fe Added oauth2 support for GCP 2015-10-20 15:08:04 -04:00
Lars Wander
4182880ca5 Provider GCE, fixed metadata state update bug 2015-10-14 12:47:54 -05:00
Lars Wander
8abbdfe79a Added global address & tests 2015-10-14 12:47:53 -05:00
Lars Wander
0982e50b34 Implemented bucket & object ACLs, as well as documentation and tests 2015-10-06 14:46:47 -04:00
Lars Wander
5baf116f79 Documentation and tests written for GCE VPN config 2015-09-15 16:13:48 -04:00
Lars Wander
67201d527a Implemented GCS bucket objects 2015-09-08 16:57:18 -04:00
Radek Simko
0b7c2fc4ba google: Add new resource - google_compute_backend_service 2015-09-08 10:22:14 +01:00
Lars Wander
5dcf6d3410 Implemented CRUD project metadata operations
Common metadata state is now stored

Optimistic locking support added to common_metadata

Revisions to keys in project metadata are now reflected in the project state

Wrote tests for project metadata (all pass)

Relaxed test conditions to work on projects with extra keys

Added documentation for project metadata
2015-08-24 12:53:28 -04:00
Radek Simko
e175531884 google: Code formatted via gofmt 2015-08-14 12:06:06 +01:00
Justin Campbell
86cc12268b providers/google: Fix error appending 2015-07-29 15:59:33 -04:00
Clint Shryock
903300ddcb providers/google: Return if we could parse JSON 2015-07-29 15:59:32 -04:00
Justin Campbell
77eebcc03e providers/google: Change account_file to JSON
If JSON fails to parse, treat it as a file path
2015-07-29 15:59:32 -04:00
Justin Campbell
31c5884b2f providers/google: Default account_file* to empty
Prevents prompting for input
2015-07-29 15:59:32 -04:00
Justin Campbell
845c69baea providers/google: Add account_file/account_file_contents ConflictsWith 2015-07-29 15:59:32 -04:00
Justin Campbell
58c9e2e50c providers/google: Use account_file_contents if provided 2015-07-29 15:59:32 -04:00
Justin Campbell
470ea3eac0 providers/google: Add account_file_contents to provider 2015-07-29 15:59:32 -04:00
Dave Cunningham
d5b089fc69 Use new autoscaler / instance group manager APIs. 2015-07-27 20:47:10 -04:00
Dave Cunningham
1fc9b27913 Merge branch 'master' into gce_autoscaling 2015-07-20 14:25:26 -04:00
Radek Simko
c6db486ab8 Add new resource - google_container_cluster 2015-07-11 18:56:24 +01:00
Dan Hilton
a4170297a3 provider/google: Add support for Google Compute Stogare buckets.
Configure Google Compute Storage buckets using:
* name (compulsory attribute)
* predefined_acl (optional, default: `projectPrivate`)
* location (optional, default: `US`)
* force_destroy (optional, default: `false`)

Currently supporting only `predefined_acl`s. Bucket attribute updates happen via re-creation. force_destroy will cause bucket objects to be purged, enabling bucket destruction.
2015-06-01 11:36:50 +01:00
Dave Cunningham
0801e6cf1b Merge autoscaler & instance group PR from dwatson
Additionally:
Update CHANGELOG
Make cooldown period optional for autoscaler
Refactor autoscaler and add more error checking
Instance template now supports image aliases
Replace instance group manager 'size' -- use target_size (now writeable)
Add documentation for autoscaler
Add beta warnings to docs
2015-05-16 20:14:38 -04:00
Dave Cunningham
6d763bacfd Support Google Cloud DNS, Fix #1148 2015-04-30 01:32:34 -04:00
David Watson
43cb8ff2a9 Initial commit of autoscaler resource. 2015-03-04 10:14:59 +00:00