Commit Graph

389 Commits

Author SHA1 Message Date
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
eadd967c10 Merge pull request #3643 from lwander/f-gcp-instance-scheduling
provider/google: Added scheduling block to compute_instance
2015-10-26 19:29:33 -04:00
Lars Wander
17e36a2b84 provider/google: Added scheduling block to compute_instance 2015-10-26 16:16:06 -04: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
Dave Cunningham
088eb46f02 Merge pull request #3620 from lwander/b-gcp-large-instance-group-timeout
provider/google: Fixed timeout bug on large instance groups
2015-10-26 02:56:18 -04:00
Daniel Imfeld
25069e909e Update list of GCE service scope short names 2015-10-23 17:58:04 -05:00
Lars Wander
5006049b3f provider/google: Fixed timeout bug on large instance groups 2015-10-23 15:12:53 -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
Paul Hinze
bc31f8bc41 provider/google: one more test that should skip predefined_acl
it was depreceted in https://github.com/hashicorp/terraform/pull/3272
2015-10-14 22:36:19 -05:00
Paul Hinze
a33a68a038 provider/google: storage bucket tests shouldn't not check predefined_acl
it was depreceted in https://github.com/hashicorp/terraform/pull/3272
2015-10-14 22:17:34 -05:00
Paul Hinze
fe960b85a2 provider/google: container test needed bigger instance to pass 2015-10-14 22:16:58 -05:00
Paul Hinze
aff63007d2 provider/google: one more fix to GCE metadata
In #3501 @lwander got us almost all the way there, but we still had
tests failing. This seemed to be because GCE sets
`metadata.startup-script` to a blank string on instance creation, and if
a user specifies any `metadata` in their config this is seen as the
desired full contents of metadata, so we get a diff trying to remove
`startup-script`.

Here, to address this, we just proactively remove the "startup-script"
key from `Read`, and then we enforce that "metadata_startup_script"
is the only way to configure startup scripts on instances.
2015-10-14 21:34:33 -05: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
Panagiotis Moustafellos
ad6d7ea3e2 removed extra parentheses 2015-10-08 15:48:04 +03:00
Radek Simko
0c20852709 gofmt files from recently merged PRs 2015-10-07 13:35:06 -07:00
Dave Cunningham
29368d3219 Merge pull request #3272 from lwander/f-gce-bucket-acls
provider/gce: Implemented bucket & object ACLs, as well as documentation and tests
2015-10-06 14:49:20 -04:00
Dave Cunningham
69be504dcd Merge pull request #3258 from lwander/f-gce-optional-region
provider/gce: Make region optional for remaining GCE resources
2015-10-06 14:48:36 -04:00
Lars Wander
0982e50b34 Implemented bucket & object ACLs, as well as documentation and tests 2015-10-06 14:46:47 -04:00
Lars Wander
4c2303e114 Implements optional region for remaining GCE resources 2015-10-06 14:44:40 -04:00
Radek Simko
a9c46b5be0 Remove no-op Updates from resource schemas 2015-10-03 14:29:19 -07:00
Dave Cunningham
0e57a9f049 Merge pull request #3242 from lwander/b-gce-network-interface-name
provider/gce: Instance Template Network Interface Should be URL
2015-09-25 16:40:16 -04:00
Lars Wander
05503f4f9c Refactored wait code to delete duplicated code & share functionality 2015-09-24 16:30:12 -04:00
Dave Cunningham
d560a9b400 Merge pull request #3240 from lwander/f-gce-bucket-website
provider/gce: Implement "website features" for GCE buckets
2015-09-16 17:37:32 -04:00
Dave Cunningham
3ccfc3b403 Merge pull request #3213 from lwander/f-gce-vpn
provider/gce: VPN resources, documentation, tests and example
2015-09-15 16:29:41 -04:00
Lars Wander
5baf116f79 Documentation and tests written for GCE VPN config 2015-09-15 16:13:48 -04:00
Lars Wander
8ecb976e57 Fix "malformed url" bug in instance template when using network name 2015-09-15 15:59:26 -04:00
Lars Wander
1b2815f6d0 Address issue #2292 2015-09-15 15:06:52 -04:00
Lars Wander
7eb5ad3bb8 Refactored project/instance metadata to use same code whenever possible
Also added optimistic locking to instance metadata
2015-09-15 14:06:26 -04:00
Anthony Scalisi
52f5510234 remove various typos 2015-09-11 11:56:20 -07:00
Lars Wander
67201d527a Implemented GCS bucket objects 2015-09-08 16:57:18 -04:00
Dave Cunningham
5e71e3adff Merge pull request #3131 from lwander/gce-fix-metadata
Brought GCE project metadata code up to spec with GCE API change
2015-09-08 15:51:25 -04:00
Radek Simko
d59a4b7b8e Use computed fingerprint 2015-09-08 12:00:22 +01:00
Radek Simko
bef590e42d Rename backend_service_test to compute_backend_service_test 2015-09-08 11:56:20 +01:00
Radek Simko
dbae373b2b google: Add acc. tests for google_compute_backend_service 2015-09-08 10:22:14 +01:00
Radek Simko
0b7c2fc4ba google: Add new resource - google_compute_backend_service 2015-09-08 10:22:14 +01:00
Radek Simko
7183537d5c Add extra debugging for google OperationWaiter 2015-09-08 10:22:14 +01:00
Lars Wander
9d6d3d49e8 Brought metadata code up to spec with GCE API change 2015-08-31 14:43:45 -04:00
Clint Shryock
a9f813a93b provider/google: Misc. cleanups for tests to pass 2015-08-31 09:06:25 -05: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
7c2260b7d8 google: Add regression test for #2978 2015-08-20 21:40:57 +01:00
Radek Simko
6c87209cdf Merge pull request #2978 from djworth/master
Convert int to int64 when building the cluster.NodeConfig struct
2015-08-20 21:34:54 +01:00
Radek Simko
2480cc2c6f Merge pull request #3000 from TimeIncOSS/code-formatting
Format code via gofmt + fix whitespacing
2015-08-19 10:45:11 +01:00
Dave Cunningham
bd6e057c0d Fix #2901 2015-08-19 02:57:04 -04:00
Radek Simko
e175531884 google: Code formatted via gofmt 2015-08-14 12:06:06 +01:00
djworth
1920934c5e Convert int to int64 when building the cluster.NodeConfig struct
related to issue https://github.com/hashicorp/terraform/issues/2901
2015-08-11 08:27:32 -04:00
Dave Cunningham
70c24b07d0 Merge pull request #2894 from sparkprime/optional_target_pool
Make target_pools optional
2015-07-30 13:52:44 -04:00
Dave Cunningham
9fb2258451 Make target_pools optional 2015-07-30 10:46:16 -04:00