Commit Graph

3704 Commits

Author SHA1 Message Date
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
Christian Berendt
52a165f686 examples: unify the configuration file syntax 2015-08-31 10:24:07 +02:00
Lars Wander
d709aede8f 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
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
Radek Simko
dfb99e3a9d google: Add example of two-tier app 2015-08-09 15:33:03 +01:00
Dave Cunningham
647b93fa24 Merge pull request #2894 from sparkprime/optional_target_pool
Make target_pools optional
2015-07-30 13:52:44 -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
650a5f5dc8 Make target_pools optional 2015-07-30 10:46:16 -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
Justin Campbell
4b50d79fec 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
Clint Shryock
903300ddcb providers/google: Return if we could parse JSON 2015-07-29 15:59:32 -04:00
Justin Campbell
c3866535fe providers/google: Document account_file_contents 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
7930789fcb Use new autoscaler / instance group manager APIs. 2015-07-27 20:47:10 -04:00
Dave Cunningham
d5b089fc69 Use new autoscaler / instance group manager APIs. 2015-07-27 20:47:10 -04:00
Dave Cunningham
24d99f55aa Merge branch 'master' into gce_autoscaling 2015-07-20 14:25:26 -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
33112ebc71 google: Update google_container_cluster attribute docs according to reality 2015-07-11 19:33:45 +01:00
Radek Simko
c6db486ab8 Add new resource - google_container_cluster 2015-07-11 18:56:24 +01:00
Radek Simko
ffb9da3cbf Add docs for 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
Dave Cunningham
9fa642cee7 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
a76d95229d 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
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
1df6addc45 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
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
4709ad3bfe 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