Commit Graph

38 Commits

Author SHA1 Message Date
Evan Brown
b12005b247 providers/google: Create and delete Service Accounts 2016-11-13 20:47:20 -08:00
Evan Brown
2d1a3c33aa WIP: providers/google: Support IAM permissions for GCP projects
This change adds a data source to allow declaring IAM policies, as well as a
new resource to represent an existing GCP project. The project resource may
reference an IAM policy, allowing a user to set project-wide permissions.
2016-09-07 13:35:33 -07:00
James Bardin
31c7d9448a Add VersionString
We conditionally format version with VersionPrerelease in a number of
places. Add a package-level function where we can unify the version
format. Replace most of version formatting in terraform, but leave th
few instances set from the top-level package to make sure we don't break
anything before release.
2016-07-21 16:43:49 -04: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
70ba555ecb provider/google: Added url map resource + tests & documentation 2015-11-02 17:12:41 -05:00
Lars Wander
c3e204a054 provider/google: SQL instance & database tests & documentation 2015-10-30 15:35:29 -04:00
clint shryock
dc2a87c505 update with go fmt 2015-10-29 17:10:44 -05:00
Dave Cunningham
9415cee06c Merge pull request #3554 from lwander/f-gcp-version
provider/google: Accurate Terraform Version
2015-10-26 02:59:51 -04:00
Lars Wander
338398e8fe Added oauth2 support for GCP 2015-10-20 15:08:04 -04:00
Lars Wander
465f5b4bbf GCP UserAgent now shows accurate Terraform version 2015-10-20 14:45:11 -04:00
Radek Simko
e175531884 google: Code formatted via gofmt 2015-08-14 12:06:06 +01:00
Justin Campbell
c1c904ce9e providers/google: Fix reading account_file path 2015-07-29 15:59:33 -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
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
Sander van Harmelen
6ffbac43d7 Fixing the build...
The v0.beta is removed, so I also removed it from here. Strangely
enough I cannot find any code that actually used it other then in being
instantiated in the provider config func.
2015-07-16 18:44:09 +02:00
Radek Simko
c6db486ab8 Add new resource - google_container_cluster 2015-07-11 18:56:24 +01:00
Mitchell Hashimoto
14ff9f2912 fmt 2015-06-23 22:31:24 -07:00
Dave Cunningham
aca09d1cc7 Add beta compute client 2015-06-10 00:14:13 -04: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
Dave Cunningham
ec3feff9ca Add a UserAgent with version temporarily set to 0.0.0 2015-04-15 18:17:21 -04:00
David Watson
56c5854e5b Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
David Watson
43cb8ff2a9 Initial commit of autoscaler resource. 2015-03-04 10:14:59 +00:00
Mitchell Hashimoto
9b5d40c2e3 fmt 2015-02-20 10:22:26 -08:00
David Watson
5f0cee4485 Add InstanceGroupManager to GCE. 2015-02-16 16:06:23 +00: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
e88a6d2034 Port to oauth2, fix #606 2015-01-30 14:53:09 -05:00
stungtoat
fc664bc4a2 providers/google: remove secrets file
fixes #452
2015-01-28 15:47:49 -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
376d1d6083 providers/google: google_compute_address 2014-08-25 12:55:08 -07:00
Mitchell Hashimoto
80e2023e6b providers/google: first pass 2014-08-25 11:48:20 -07:00