Commit Graph

1006 Commits

Author SHA1 Message Date
Evan Brown
aca0825115 providers/google: No default root user for SQL
Cloud SQL Gen 2 instances come with a default 'root'@'%' user on
creation. This change automatically deletes that user after creation. A
Terraform user must use the google_sql_user to create a user with
appropriate host and password.
2017-01-31 22:21:11 -08:00
Evan Brown
a6c1f94419 providers/google: No default root user for SQL
Cloud SQL Gen 2 instances come with a default 'root'@'%' user on
creation. This change automatically deletes that user after creation. A
Terraform user must use the google_sql_user to create a user with
appropriate host and password.
2017-01-31 22:21:11 -08:00
Matthew Frahry
a4900da465 Update compute_instance.html.markdown
Putting all required attributes next to each other for readability and separating deprecated attributes
2017-01-31 16:45:13 -07:00
Christophe van de Kerchove
5b551718d5 This should resolve #11547
This should force terraform to recreate the resource after updating it.
2017-01-31 09:33:29 -05:00
Dana Hoffman
6dd07d952e Merge pull request #11477 from gh-mlfowler/google-sql2-slave
provider/google: Fix master_instance_name to prevent slave rebuilds
2017-01-30 14:17:56 -08:00
Dana Hoffman
4950e66d68 provider/google: allow instance group managers in region other than project (#11294) 2017-01-30 11:35:35 +00:00
Paddy
d61d0e282e Merge branch 'master' into paddy_10984_better_image_resolution 2017-01-29 23:56:00 -08:00
Christoph Blecker
7c0f207b69 ip_address is an array and requires the instance number (#11389) 2017-01-29 16:36:57 +00:00
Christoph Blecker
ef01f82591 Fix vet errors in providers (#11496) 2017-01-29 15:59:55 +00:00
Roberto Jung Drebes
74d7af5506 provider/google: acceptance tests for traffic selectors 2017-01-28 00:55:17 +01:00
Roberto Jung Drebes
515b12f750 provider/google: acceptance tests for traffic selectors 2017-01-28 00:55:17 +01:00
Roberto Jung Drebes
eec0772512 provider/google: remote_traffic_selector for google_compute_vpn_tunnel 2017-01-28 00:09:58 +01:00
Roberto Jung Drebes
c058cdcbed provider/google: remote_traffic_selector for google_compute_vpn_tunnel 2017-01-28 00:09:58 +01:00
Mike Fowler
9851a7eaa6 Fix master_instance_name to prevent slave rebuilds 2017-01-27 21:06:46 +00:00
Dave Walter
1be448ed77 Remove duplicate google_project.project_id argument reference. (#11449)
Signed-off-by: Kevin Kelani <kkelani@pivotal.io>
2017-01-27 04:16:27 +02:00
Evan Brown
199eeeea51 providers/google: Support managing projects
Add support for creating, updating, and deleting projects, as well as
their enabled services and their IAM policies.

Various concessions were made for backwards compatibility, and will be
removed in 0.9 or 0.10.
2017-01-25 14:59:50 -08:00
Evan Brown
622783c762 providers/google: Support managing projects
Add support for creating, updating, and deleting projects, as well as
their enabled services and their IAM policies.

Various concessions were made for backwards compatibility, and will be
removed in 0.9 or 0.10.
2017-01-25 14:59:50 -08:00
Paddy
bfde91ecb1 Start adding tests for image resolution.
Add tests that show what we want image input strings to resolve to, so
we can test that behaviour.
2017-01-23 16:45:06 -08:00
tpoindessous
6cb049139c Additionnal information for machine type (#11288)
Additionnal information for machine type, which is the new name of "tiers".
2017-01-19 14:41:06 +00:00
Zach Gershman
627629639b removes region param from google_compute_backend_service (#10903)
* removes region param from backend_service

- this param was not being used in this service
- you need a regional_backend_service if you want to pass this

* deprecated region instead of outright removing

* put session affinity formatting back
2017-01-18 23:10:43 +00:00
Zach Gershman
b82d724f85 removes region param from google_compute_backend_service (#10903)
* removes region param from backend_service

- this param was not being used in this service
- you need a regional_backend_service if you want to pass this

* deprecated region instead of outright removing

* put session affinity formatting back
2017-01-18 23:10:43 +00:00
Dana Hoffman
00fad24a96 Merge pull request #11018 from unguiculus/feature/additional_zones
provider/google: [GKE] Allow additional zones to be configured
2017-01-18 10:10:13 -08:00
Dana Hoffman
2f1f73969f Merge pull request #11018 from unguiculus/feature/additional_zones
provider/google: [GKE] Allow additional zones to be configured
2017-01-18 10:10:13 -08:00
Dana Hoffman
490587d0a8 Merge pull request #11228 from cblecker/rbs-sessionaffinity
provider/google: Add support for session_affinity to google_compute_region_backend_service
2017-01-18 10:06:02 -08:00
Dana Hoffman
ce902c7c8e Merge pull request #11228 from cblecker/rbs-sessionaffinity
provider/google: Add support for session_affinity to google_compute_region_backend_service
2017-01-18 10:06:02 -08:00
Dana Hoffman
5e04661a5a providers/google: Add support for encrypting a disk (#11167)
* providers/google: add support for encrypting a disk

* providers/google: Add docs for encrypting disks

* providers/google: CSEK small fixes: sensitive params and mismatched state files
2017-01-18 13:49:48 +00:00
Dana Hoffman
7974fd1a41 providers/google: Add support for encrypting a disk (#11167)
* providers/google: add support for encrypting a disk

* providers/google: Add docs for encrypting disks

* providers/google: CSEK small fixes: sensitive params and mismatched state files
2017-01-18 13:49:48 +00:00
Christoph Blecker
3385397392 Add support for session_affinity to google_compute_region_backend_service 2017-01-17 16:32:58 -08:00
Christoph Blecker
12787e985e Add support for session_affinity to google_compute_region_backend_service 2017-01-17 16:32:58 -08:00
Christoph Blecker
1b977f79c2 Fix formatting on google_compute_backend_service page 2017-01-16 13:42:55 -08:00
Reinhard Nägele
d1e6adf928 Add 'ForceNew: true' to additional_zones 2017-01-13 19:39:35 +01:00
Reinhard Nägele
6d3f0e5616 Fix if condition in test 2017-01-13 19:37:59 +01:00
Reinhard Nägele
bf8e00e162 Add test for additional zones existance 2017-01-13 17:03:28 +01:00
Reinhard Nägele
40e22d98e5 Merge remote-tracking branch 'upstream' into feature/additional_zones 2017-01-13 16:44:09 +01:00
Reinhard Nägele
18d14b5b71 Merge remote-tracking branch 'upstream' into feature/additional_zones 2017-01-13 16:44:09 +01:00
Dana Hoffman
e789ba3fab providers/google: Add link to setIamPolicy restrictions in iam docs (#11188) 2017-01-13 10:51:03 +00:00
zbikmarc
17af2f69af providers/google: Add subnetwork_project field to enable cross-project networking in instance templates (#11110)
* Add subnetwork_project field to allow for XPN in GCE instance templates

* Missing os import

* Removing unneeded check

* fix formatting

* Add subnetwork_project to read
2017-01-12 16:05:13 +02:00
zbikmarc
b5333fe9d9 providers/google: Add subnetwork_project field to enable cross-project networking in instance templates (#11110)
* Add subnetwork_project field to allow for XPN in GCE instance templates

* Missing os import

* Removing unneeded check

* fix formatting

* Add subnetwork_project to read
2017-01-12 16:05:13 +02:00
Paddy
44bf0bec96 Read update_strategy before overwriting it. (#11013)
As brought up in #10174, our update_strategy property for instance group
managers in GCP would always be set to "RESTART" on read, even if the
user asked for them to be "NONE" in the config.

This adds a test to ensure that the user wishes were respected, which
fails until we check for update_strategy in the ResourceData before we
update it within the Read function. Because the update_strategy property
doesn't map to anything in the API, we never need to read it from
anywhere but the config, which means the ResourceData should be
considered authoritative by the time we get to the Read function.

The fix for this was provided by @JDiPierro in #10198 originally, but
was missing tests, so it got squashed into this.
2017-01-09 23:15:50 +00:00
Reinhard Nägele
6e912ff336 [GKE] Allow additional zones to be configured 2017-01-04 07:37:57 +01:00
Reinhard Nägele
07ce12d0f7 [GKE] Allow additional zones to be configured 2017-01-04 07:37:57 +01:00
Reinhard Nägele
0f1a85d4d8 GKE: Fix docs for node_version (#10856) 2016-12-20 14:06:19 +00:00
Paddy
e03493ddd4 Remove create_timeout backwards incompatibilities.
A new create_timeout attribute was added that had some backwards
incompatibilities, and as per discussion in #10823, it was determined we
could make upgrading to 0.8.x easier by fixing them, without really
losing any functionality.

Because create_timeout is not something stored or transmitted to the
API, it's not something we need a ForceNew on. Also, because an update
wouldn't result in an API call, we can add a state migration to avoid a
false positive diff that requires people to plan and apply but doesn't
actually make an API call.
2016-12-19 23:49:53 -08:00
Christoph Blecker
3b1442f355 Use node_version during google_container_cluster creation (#10817) 2016-12-18 13:50:46 +00:00
Daniel Bryant
4c41dbced1 Make clearer that ipv4_range is deprecated (#10749)
Removed example code usage that demonstrated deprecated ipv4_range argument, and made clearer that argument is deprecated
2016-12-15 12:37:13 +00:00
stack72
1aacd62faf provider/google: Moving the XPN EnvVar check into provider_test.go to stop failed build 2016-12-13 19:29:23 +00:00
stack72
55ebfd82de Merge branch 'google-xpn' of https://github.com/danawillow/terraform 2016-12-13 19:15:54 +00:00
stack72
a40d538584 Merge branch 'google-xpn' of https://github.com/danawillow/terraform 2016-12-13 19:15:54 +00:00
Patrick Decat
590ae43c5d Fix 404 on API link (#10693) 2016-12-13 10:12:49 +00:00
Patrick Decat
57c9fdf77f Fix 404 on API link 2016-12-13 11:10:55 +01:00