Commit Graph

78 Commits

Author SHA1 Message Date
Alexander
94baf7e138 provider/google: BigQuery Dataset (#13436)
* Vendor BigQuery

* Add resource

* Add tests

* Add documentation

* Remove named import

* Remove `retain_on_delete`

* Fix formatting
2017-04-20 09:47:38 -07:00
Mathieu Herbert
aa913e6dee provider/google: datasource subnetwork and network (#12442)
* first version of this datasource

* add network and subnetwork datasource and documentation

* modify sidebar reference in documentation

* fix elements after review on network and subnetwork datasources

* fix fmt on Google provider.go

* modify code with the review

* modify documentation layout order

* fix alphabetic order in provider.go

* fix rebase issue and documentation datasource => data
2017-04-13 13:25:29 -07:00
Paddy
d3f1edd9f0 provider/google: drop the account file.
This was already marked as removed, but the way the provider handled it,
people were still being prompted for input anyways. This removes it from
the provider entirely, so people won't be prompted for input.
2017-03-15 11:00:54 -07:00
Dana Hoffman
c551e4e51d provider/google: Check all fields in GKE tests instead of just that the resource exists (#12147) 2017-03-14 17:50:58 -07:00
Paddy
6c3261d149 Remove validateAccountFile function.
As @danawillow noticed, if the field is removed, we don't need to
validate it. Which means more deleting code!
2017-03-14 12:56:02 -07:00
Paddy
b908568d40 provider/google: remove deprecated account_file field.
Remove the shims for the long-deprecated account_file field in the
Google provider.
2017-03-13 21:58:39 -07:00
Dana Hoffman
2486f618d8 provider/google: initial commit for node pool resource (#11802)
provider/google: initial commit for node pool resource
2017-03-06 14:59:24 -08:00
Radek Simko
f353843c2f provider/google: Add google_compute_zones data source 2017-02-15 09:50:25 +00:00
Evan Brown
199eeeea51 providers/google: Support managing projects
Add support for creating, updating, and deleting projects, as well as
their enabled services and their IAM policies.

Various concessions were made for backwards compatibility, and will be
removed in 0.9 or 0.10.
2017-01-25 14:59:50 -08:00
Dana Hoffman
69ce33641d First set of changes to enable internal load balancing using beta apis 2016-12-01 11:14:21 -08:00
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
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