Commit Graph

3800 Commits

Author SHA1 Message Date
clint shryock
b004cf3629 provider/google: remove debug spew statement 2016-09-27 17:06:41 -05:00
Evan Brown
81c3c048a2 Merge pull request #8977 from sl1pm4t/b-gcs-storage-class
provider/google: Add support for GCS StorageClass
2016-09-24 21:13:17 -07:00
Sean Chittenden
65a7ed87c2 Whitespace nit. 2016-09-23 10:59:27 -07:00
Valentin Pichard
baeb764181 Fmt all the config files
Signed-off-by: Valentin Pichard <valentin.pichard@corp.ovh.com>
2016-09-22 11:49:09 +00:00
Matt Morrison
7adea2f0f3 Fix documentation 2016-09-22 07:49:50 +12:00
Matt Morrison
a554f15490 Add support for GCS StorageClass
Fixes: #7417
2016-09-22 07:46:35 +12:00
Matt Morrison
fa31b6d207 Add support for GCS StorageClass
Fixes: #7417
2016-09-22 07:46:35 +12:00
Matt Morrison
e391214b2b Incorporate @jen20 code comments (errors, errwrap, TODO’s)
Implement content_md5, content_type, extension_headers support.
2016-09-16 12:44:28 +12:00
Matt Morrison
00e5eb2aab Minor fixes:
- extension_headers validation - header prefix must be ‘x-goog-‘ (with a trailing hyphen)
- http_method validate, explicitly name the datasource attribute that is failing validation
- remove redundant http_method validation that is no longer needed
2016-09-16 12:44:28 +12:00
Matt Morrison
1ecaf1e58b Add google_storage_object_signed_url documentation. 2016-09-16 12:44:28 +12:00
Matt Morrison
0f123f6d23 Incorporate @jen20 code comments (errors, errwrap, TODO’s)
Implement content_md5, content_type, extension_headers support.
2016-09-16 12:44:28 +12:00
Matt Morrison
b039b542f5 Add support for content_type, headers + md5_digest 2016-09-16 12:44:28 +12:00
Matt Morrison
070433d8b2 Tidy up;
- re-add ‘testAccPreCheck()’ to acceptance tests, to ensure necessary GOOGLE_* env vars are set for Acceptance tests.
- remove unused code from datasource
- use URL signature (base64 encoded) as data source ID instead of full URL
2016-09-16 12:44:28 +12:00
Matt Morrison
ca682dcc28 Add google_storage_object_signed_url documentation. 2016-09-16 12:44:28 +12:00
Matt Morrison
8f61bf27fd Add google_storage_signed_url data source. 2016-09-16 12:44:28 +12:00
Evan Brown
34edaf56d6 providers/google: Add documentation for google_iam_policy resource 2016-09-07 13:35:33 -07:00
Evan Brown
92fe030b5e providers/google: Add documentation for google_iam_policy resource 2016-09-07 13:35:33 -07:00
Evan Brown
39109607a2 providers/google: Add acceptance tests for Project IAM 2016-09-07 13:35:33 -07:00
Evan Brown
f57670652d providers/google: Allow IAM policy removal from project 2016-09-07 13:35:33 -07: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
Evan Brown
e0289a462e providers/google: Fix VPN Tunnel acceptance test
This fix changes acceptance tests for VPN tunnel to use the correct ports (UDP
500 and 4500). It also changes the documentation to demonstrate using these
port single ports in a `port_range` field.
2016-09-05 12:34:40 -07:00
Evan Brown
26354516ea providers/google: Fix VPN Tunnel acceptance test
This fix changes acceptance tests for VPN tunnel to use the correct ports (UDP
500 and 4500). It also changes the documentation to demonstrate using these
port single ports in a `port_range` field.
2016-09-05 12:34:40 -07:00
Matt Morrison
44bb890f57 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
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
3d94fa86e6 Merge pull request #8498 from drich10/finite_health_checking
provider/google: Use healthcheck names instead of urls when reading target pool
2016-09-01 22:02:41 -07:00
Paul Stack
8156cf9e4a provider/google: Change Compute VPN Tunnel test to use the correct port range (#8504) 2016-08-27 00:51:57 +01:00
Derek Richard
4189b6f30b Use healthcheck names instead of urls when reading target pool
- Resolves #8488

Signed-off-by: Dan Wendorf <dwendorf@pivotal.io>
2016-08-26 10:45:59 -07:00
Christoph Blecker
2477c7c5a5 Fix acceptance test image reversion (#8349) 2016-08-25 14:39:03 +01:00
Sarah Zelechoski
6274922488 email is variable, not string 2016-08-23 17:32:46 -04:00
Sarah Zelechoski
f2710cf1ba Allow custom Compute Engine service account 2016-08-23 17:04:13 -04:00
Sarah Zelechoski
b6afd6bf68 Allow custom Compute Engine service account 2016-08-23 17:04:13 -04:00
James Nugent
c2dc0479a7 provider/google: Remove redundant type declaration
This commit cleans up the google_compute_firewall resource to the Go
1.5+ style of not requiring map values to declare their type if they can
be inferred.
2016-08-23 10:40:33 +02:00
James Nugent
ba76ac0788 provider/google: Hook in state migration function
As part of Terraform 0.7.1 it was observed in issue #8345 that the state
migration for google_compute_firewall did not appear to be running,
causing a panic when an uninitialized member was read. This commit hooks
up the state migration function (which _was_ independently unit tested
but was not actually in place).

There is currently no good test framework for this, I will address this
issue in a future RFC.
2016-08-23 10:40:33 +02:00
Noah Webb
05eecb60f7 provider/google: changed the format of source_image in autoscaler tests 2016-08-19 14:05:28 -04:00
Christoph Blecker
be6b7c95b4 Update Google TestAcc to use Debian 8 images 2016-08-18 19:31:45 -07:00
Christoph Blecker
38d098a73f Fix AccTest for Autoscaler 2016-08-18 19:21:48 -07:00
Christoph Blecker
a0886decc3 Update docs to use GCP Image Families 2016-08-18 17:23:15 -07:00
Lars Wander
492e02705f Merge pull request #8298 from nwwebb/import-instance-group-manager
provider/google: Support Import of 'google_compute_instance_group_manager'
2016-08-18 15:36:03 -04:00
Noah Webb
6e2c679c8a provider/google: Support Import of'google_compute_instance_group_manager' 2016-08-18 15:13:52 -04:00
Paul Hinze
ee71068018 provider/google: add test case for GH-4222
Reproduces a non-empty plan that is now fixed after the bugfix for that
issue landed.
2016-08-18 15:08:50 -04:00
Lars Wander
49490f5fe2 Merge pull request #8292 from nwwebb/import-target-pool
provider/google: Changed instances to a computed property of 'google_compute_target_pool'
2016-08-18 14:16:09 -04:00
Noah Webb
0eb18737cb provider/google: Made instances a computed property of 'google_compute_target_pool' 2016-08-18 13:29:00 -04:00
Lars Wander
435b4d17d0 provider/google: Correct update process for auth nets in sql instance 2016-08-18 12:01:38 -04:00
Lars Wander
0a6a76a86d Merge pull request #8147 from nwwebb/import-instance-template
provider/google: Support Import of 'google_compute_instance_template'
2016-08-18 10:30:46 -04:00
Lars Wander
f0ebedb1f8 Merge pull request #8147 from nwwebb/import-instance-template
provider/google: Support Import of 'google_compute_instance_template'
2016-08-18 10:30:46 -04:00
kawa
73b246e9b5 provider/google: Fix typo in document. auto_create_subnets -> auto_create_subnetworks (#8250) 2016-08-17 07:50:05 +01:00
Noah Webb
8429479c89 provider/google: Support Import of 'google_compute_firewall' 2016-08-16 17:04:30 -04:00
Christoph Blecker
0c5ec16c30 Add support for using GCP Image Family names. (#8083) 2016-08-15 22:29:58 +01:00
Christoph Blecker
6737e59577 Add support for using GCP Image Family names. (#8083) 2016-08-15 22:29:58 +01:00
Noah Webb
87fe233ae8 provider/google: Support Import of 'google_compute_instance_template' 2016-08-15 10:03:31 -04:00