Commit Graph

3789 Commits

Author SHA1 Message Date
Lars Wander
0d35e58e8c provider/google: Mark next_hop_network as read only. 2016-03-10 13:58:09 -05:00
Lars Wander
5b5f55fa84 provider/google: Mark next_hop_network as read only. 2016-03-10 13:58:09 -05:00
Paul Hinze
727fcee313 Merge pull request #5501 from evandbrown/vpnval
provider/google: Validate VPN tunnel peer_ip
2016-03-09 18:55:10 -06:00
Paul Hinze
3875f5396b Merge pull request #5497 from evandbrown/flakeygcs
provider/google: Address flaky GCS acceptance tests.
2016-03-09 18:48:44 -06:00
Eric Robert
f0784f3a45 Fix Google instance template creation for preemptible VM 2016-03-08 16:18:23 +00:00
Evan Brown
cc09f9cfee provider/google: Validate VPN tunnel peer_ip 2016-03-07 21:35:08 -08:00
Evan Brown
01b47596f4 provider/google: Address flaky GCS acceptance tests.
Acceptance tests for GCS that do rapid create/delete/create
on GCS buckets using the same name sometimes fail as the
bucket namespace is eventually consistent. This change makes
tests use a random bucket name for each test (adapted from
the existing ACL tests).
2016-03-07 14:26:19 -08:00
Derek Goss
949c384171 Added disk_size_gb documentation to resource "google_compute_instance_template"
This was missing in the docs yet was implemented in Terraform. See line 81 in https://github.com/hashicorp/terraform/blob/master/builtin/providers/google/resource_compute_instance_template.go
2016-03-06 21:44:55 -05:00
Evan Brown
0a3906ca83 provider/google: Fix Pubsub acceptance tests
Acceptance tests for Pubsub topics and subscriptions failed after
incorrectly determining that resources were not deleted in the
CheckDestroy phase.

Fixes 5437
2016-03-02 15:36:32 -08:00
Evan Brown
55600cd96d provider/google: Fix VPN tunnel creation test
The GCE API for creating VPN tunnels began validating the `peerIp` field
and rejecting RFC5735 addresses. The previous test was using one of
these addresses and failing as a result. This commit uses 8.8.8.8
for the peerIp.
2016-03-02 13:17:38 -08:00
Shane O'Grady
a9604c4104 description is now a required field for google_dns_managed_zone
The description field for a managed-zone is now a required field when using the Cloud API.
This commit defaults the field to use the text "Managed by Terraform" to minimize required boilerplate for Terraform users.

Ref: https://cloud.google.com/sdk/gcloud/reference/dns/managed-zones/create
2016-03-02 17:23:11 -03:00
Shane O'Grady
1696535082 description is now a required field for google_dns_managed_zone
The description field for a managed-zone is now a required field when using the Cloud API.
This commit defaults the field to use the text "Managed by Terraform" to minimize required boilerplate for Terraform users.

Ref: https://cloud.google.com/sdk/gcloud/reference/dns/managed-zones/create
2016-03-02 17:23:11 -03:00
Lars Wander
a20bc2fabc 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
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
b057c59430 Added google_compute_instance_group resource 2016-02-26 18:41:35 +00:00
Alex Crowe
4cf19278e7 Added google_compute_instance_group resource 2016-02-26 18:41:35 +00:00
Paul Hinze
267cb8109a provider/google: cover fix in #5110 2016-02-22 18:55:22 -06:00
Paul Hinze
cd3ccbbcfd Merge pull request #5110 from fd/patch-1
google_pubsub_subscription crashes when ack_deadline_seconds is provided
2016-02-22 18:54:19 -06:00
James Nugent
dcb2ebbb2a provider/google: Document schema conflict in network 2016-02-22 13:15:02 -05:00
James Nugent
57a17a0655 Merge pull request #5241 from sl1pm4t/b-google-network-backcompat
provider/google: Fix Google compute network forces new resource
2016-02-22 13:11:42 -05:00
Lars Wander
7b55d53ad1 provider/google: Add support for reading SQL instance assigned IP Addresses 2016-02-22 10:38:14 -05:00
Lars Wander
906bcbe1ad provider/google: Add support for reading SQL instance assigned IP Addresses 2016-02-22 10:38:14 -05:00
Matt Morrison
e70b3187eb Fix Google compute network forces new resource 2016-02-22 21:55:42 +13:00
James Nugent
a61aa751b2 Merge pull request #5177 from hashicorp/f-go-1.6
Update Travis to use Go 1.6
2016-02-18 10:01:49 -08:00
James Nugent
8de4033845 Gix gofmt errors 2016-02-18 08:51:27 -08:00
Matt Morrison
e42ea36d23 Add more acceptance tests, and fix some test cases 2016-02-18 08:37:58 -08:00
James Nugent
77a9ac216a provider/google: Clarify comment about defaults 2016-02-18 08:37:58 -08:00
Matt Morrison
a9c87749be Add subnetwork resource ACC tests, additional doc updates 2016-02-18 08:37:58 -08:00
James Nugent
438f0dd680 Remove TODO comment 2016-02-18 08:37:58 -08:00
Matt Morrison
b60e587750 Update google resources where necessary to make use of subnetworks, update som docs 2016-02-18 08:37:58 -08:00
James Nugent
c8c3521518 Correct format specifier 2016-02-18 08:37:58 -08:00
Matt Morrison
b5c5cbd5d4 Add more acceptance tests, and fix some test cases 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
James Nugent
34833ac922 Merge pull request #5125 from lwander/b-gcp-vpn-gateway-region
provider/google: Fix VPN Region bug
2016-02-17 13:45:32 -08:00
Trevor Pounds
32a939c9dd Enable go vet -unusedresult check and fix warnings. 2016-02-17 11:59:50 -08:00
Paul Stack
4a5f5cf2da Merge pull request #5126 from lwander/b-gcp-template-disk-type-doc
provider/google: Fix documentation around GCE Disk Type
2016-02-13 18:35:50 +00:00
Lars Wander
c58530f40c provider/google: Route doc zone update 2016-02-13 10:23:55 -05:00
Lars Wander
2a45008ba5 provider/google: Fix documentation around GCE Disk 2016-02-13 10:20:56 -05:00
Lars Wander
9041d2a8a8 provider/google: Fix VPN Region bug 2016-02-13 09:47:35 -05:00
James Nugent
61f5055367 Merge pull request #5075 from uber/fix-issue-4895
provider/google: Fix google_compute_backend_service max_utilization backend attribute
2016-02-12 13:15:48 -08:00
Simon Menke
c51878ff3f google_pubsub_subscription crashes when ack_deadline_seconds is provided 2016-02-12 12:41:20 +01:00
Bill Fumerola
e1ca77cc2a provider/google Fix backend service max_utilization attribute
Fixes issue #4985 by correcting copy/paste error that caused the
max_utilization attribute to be read from the max_rate_per_instance
attribute.

N.B. There is still no test coverage for this issue.
2016-02-09 13:41:01 -08:00
Trevor Pounds
a77d60e006 Use built-in schema.HashString. 2016-02-07 16:29:34 -08:00
clint shryock
4e3e03192e Switch to acctest.RandInt for acceptance tests 2016-02-04 11:20:22 -06:00
Ian Duffy
5d940efddf Change resource.StateChangeConf to use an array for target states
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
chris
ee6cbff726 provider/google: Support named_port on instance_group_manager
This allows HTTP and HTTPs load-balancers to direct traffic to ports other than tcp/80 and tcp/443.
2016-01-20 09:15:30 -05:00
chris
d99a368c03 provider/google: Support named_port on instance_group_manager
This allows HTTP and HTTPs load-balancers to direct traffic to ports other than tcp/80 and tcp/443.
2016-01-20 09:15:30 -05:00
Seth Vargo
f4af21f902 Use HTTPS + www. for links 2016-01-14 16:03:26 -05:00