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
Justin Campbell
c1c904ce9e
providers/google: Fix reading account_file path
2015-07-29 15:59:33 -04: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
217393d674
Increase timeout, IGM delete can be slow
2015-07-28 14:09:43 -04:00
Dave Cunningham
95ca5bab05
Make failure of "basic" test not interfere with success of "update" test
2015-07-28 14:09:29 -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
Dave Cunningham
a4037a0f61
Add ForceNew metadata_startup_script field
2015-07-01 21:24:34 -04: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
Paul Hinze
e39d629ba6
acc tests: ensure each resource has a _basic test
...
Helpful for breadth first acc test sweeps `-run '_basic$'`
2015-06-07 18:18:14 -05: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
Clint Shryock
df251f17c9
Strip 'sdk' suffix from methods; it's a remnant
2015-05-12 14:58:10 -05:00
Dave Cunningham
90c5bf8f0e
Merge pull request #980 from BashtonLtd/gce_instance_template_network_update
...
Update Instance Template network definition to match changes to Instance.
2015-05-12 15:46:04 -04:00
Dave Cunningham
feedddb9d8
Merge pull request #1894 from dcarley/gce_health_check_defaults
...
provider/gce: Fix updates for http_health_check (set defaults)
2015-05-12 12:29:40 -04:00
Dave Cunningham
27319e1366
Allow local SSDs, Fix #1088
2015-05-11 21:40:37 -04:00
Dan Carley
11f7b0c2ba
provider/gce: Set defaults for http_health_check
...
In order to fix the failing test in the preceding commit when optional
params are changed from their default "computed" values.
These weren't working well with `HttpHealthCheck.Patch()` because it was
attempting to set all unspecified params to Go's type defaults (eg. 0 for
int64) which the API rejected.
Changing the call to `HttpHealthCheck.Update()` seemed to fix this but it
still didn't allow you to reset a param back to it's default by no longer
specifying it.
Settings defaults like this, which match the Terraform docs, seems like the
best all round solution. Includes two additional tests for the acceptance
tests which verify the params are really getting set correctly.
2015-05-10 21:20:40 +01:00