Commit Graph

1921 Commits

Author SHA1 Message Date
Kit Ewbank
b795a4563e Import google_compute_shared_vpc_host_project/google_compute_shared_vpc_service_project resources (#1004)
* Import google_compute_shared_vpc_host_project/google_compute_shared_vpc_service_project resources.

* Incorporate testing of resource import into main acceptance tests.
2018-01-24 12:54:42 -08:00
Dana Hoffman
d527a663dc
Update CHANGELOG.md 2018-01-24 12:51:08 -08:00
Dana Hoffman
3b753cefa2
Add update support for machine type, min cpu platform, and service accounts (#1005)
* Add update support for compute instance fields that require the machine to be stopped

* add warnings in docs about stopping the instance before updating

* add allow_stopping_for_update field
2018-01-24 12:50:39 -08:00
Dana Hoffman
b708ff73e5
Update CHANGELOG.md 2018-01-24 09:24:31 -08:00
Lawrence Jones
9f42aeb652 PostgreSQL high availability (#1001)
* Update sqladmin api

Pull in updates to the generated sqladmin api and update callers for
the change in the StorageAutoResize setting

* Add support for availability_type setting

Allow specifying ZONAL or REGIONAL to allow for PostgreSQL HA
setup.

* vendor: update sqladmin/v1beta4

* Test setting AvailabilityType for PostgreSQL

Add tests that cover the creation of a Postgres database with
AvailabilityType set to REGIONAL, and correct some small issues that
were preventing compilation.

* Fix breaking change w/ disk_autoresize in cloudsql

95e5582766

The cloudsql admin client changed the way it handles StorageAutoResize
as a parameter, in order to be more explicit about when the server has
ommitted the field. This changed the type from being bool to *bool, and
we need to modify provider code so that we supply the right value to the
api client.
2018-01-24 09:23:48 -08:00
Dana Hoffman
33626a1e33
add metadata to gce cluster config in dataproc (#999) 2018-01-23 16:08:51 -08:00
Vincent Roseberry
dc742f36f5
Update CHANGELOG.md 2018-01-23 11:53:15 -08:00
Jacob Straszynski
939ba6d365 skip guest accelerators if count is 0. (#866)
* skip guest accelerators if count is 0.

Instances in instance groups in google will fail to provision, despite
requesting 0 GPUs. This came up for me when trying to provision
a similar instance group in all available regions, but only asking for
GPU's in those that support them by parameterizing the `count` and
setting it to 0.

This might be a violation of some terraform principles. For example,
testing locally with this change `terraform` did not recognize that
indeed my infra needed to be re-deployed (from it's pov, I assume it
believes this because inputs hadn't changed). Additionally, there may be
valid reasons for creating an instance template with 0 gpu's that can be
tuned upwards.

* Add guest accelerator skip test for instances.

* do not leave empty pointers to guest accelerators.

* attempt to clear guest accelerator diff

* conditionally customize diff for guest accels
2018-01-23 11:51:36 -08:00
Dana Hoffman
2a69744518
clarify custom roles format for iam (#998) 2018-01-22 15:34:17 -08:00
Nathan McKinley
535fc64a14
condition.IsLive can come back nil - avoid crash if it does. (#997) 2018-01-22 14:14:02 -08:00
Nathan McKinley
0133845a19
Wrap HTTP errors so that concurrent-modification-detection works as designed. (#987) 2018-01-19 16:31:51 -08:00
Nathan McKinley
7b54aa8540
Read project name from API instead of inferring from provider in case of import. (#985) 2018-01-19 15:32:57 -08:00
Nathan McKinley
77779ba9c4
Added tfvars to .gitignore (#986) 2018-01-19 15:32:43 -08:00
Stefan Schmidt
bda219f276 Allow for legacy domain-scoped project IDs. (#960) 2018-01-19 15:11:30 -08:00
sarunask
da5c5e8b7c Adding description of Cloud Functions to website (#958)
* Adding description of Cloud Functions to website

* docs changes
2018-01-19 11:33:07 -08:00
Nathan McKinley
b68dc6e984
Docs change - Specify that cluster is a zonal resource. (#984) 2018-01-19 10:45:19 -08:00
Radek Simko
9db415d612
docs: Fix link in the sidebar too 2018-01-19 16:33:59 +00:00
Radek Simko
aee7c415da
Merge pull request #983 from terraform-providers/docs-fix-link
docs: Fix link to google_container_cluster DS
2018-01-19 16:15:18 +00:00
Radek Simko
00d9b3b39c
docs: Fix link to google_container_cluster DS 2018-01-19 15:36:39 +00:00
Paddy
f76f370010
Merge pull request #981 from terraform-providers/paddy_1_5_0_website_fixes
Fix broken links on the website.
2018-01-18 14:54:58 -08:00
Paddy
dadb935048 Fix broken links on the website. 2018-01-18 14:07:24 -08:00
tf-release-bot
175b521322 Cleanup after v1.5.0 release 2018-01-18 21:52:26 +00:00
tf-release-bot
621c963388
v1.5.0 2018-01-18 21:48:14 +00:00
Vincent Roseberry
3e900a3e6b
Bump up defaults timeout for dataproc (#979) 2018-01-18 11:12:14 -08:00
Vincent Roseberry
5043f60939
Fix canonical image (#978) 2018-01-18 10:49:30 -08:00
Dana Hoffman
92b9984dae
fix gke tests (#977) 2018-01-18 09:51:55 -08:00
Nathan McKinley
91cf319f0e
Update CHANGELOG.md 2018-01-17 18:50:58 -08:00
Nathan McKinley
d8aea17b19
New simple data sources for GCR Repo and Image. (#954)
New, very simple data sources for GCR Repo and Image, plus docs.
2018-01-17 18:47:25 -08:00
Vincent Roseberry
a8aa85e921
Update CHANGELOG.md 2018-01-17 13:24:56 -08:00
Vincent Roseberry
681cc72f38
Read compute instance boot disk initialization params from API (#948)
* read boot disk initialization param from API

* make fmt

* Mark the initialize_params list as computed to support boot source

* Ensure private family test follow naming pattern

* Improve docs
2018-01-17 13:23:24 -08:00
Vincent Roseberry
823542a203
Update CHANGELOG.md 2018-01-17 12:59:51 -08:00
Vincent Roseberry
c9826b1452
Support subnetwork IP CIDR range expansion (#945)
* Vendor schema/helper/customdiff

* Support subnetwork IP CIDR range expansion

* Change wording
2018-01-17 12:58:37 -08:00
Nathan McKinley
26c93431f7
Update docs to show disabling basic auth in new container cluster. (#967) 2018-01-17 12:54:42 -08:00
Brandon Kurtz
126750598e Docs update: Example SQL Database with database_version (#959)
Explicit use of database_version in the example to specify postgres.
2018-01-17 12:40:37 -08:00
Vincent Roseberry
5176daaec5
Update CHANGELOG.md 2018-01-17 11:23:50 -08:00
Vincent Roseberry
fc7c0ce74a
Add import support to google_dns_record_set (#895)
* Add import support to google_dns_record_set

* Add import test to NS record

* Minimize diff change

* Improve docs

* Make error message more helpful

* Add note about trailing dot at the end of the record name
2018-01-17 11:19:55 -08:00
Vincent Roseberry
d0f5fec463
Standardize resource name extraction from self_link/uri (#939)
* Standardize resource name extraction from self_link/uri

* remove rebase artifact

* style improvement

* Fix merge issue
2018-01-17 10:45:28 -08:00
Vincent Roseberry
8062d6a80a
Update CHANGELOG.md 2018-01-17 10:28:03 -08:00
Kit Ewbank
34279a6bde Correct usage of 'folders' for 'google_folder_organization_policy' resource. (#963) 2018-01-17 10:26:16 -08:00
Kit Ewbank
233485ba8a Fix 'go vet' error - 'arg found.AutoscalingPolicy.CpuUtilization.UtilizationTarget for printf verb %d of wrong type: float64'. (#969) 2018-01-17 09:52:20 -08:00
Nathan McKinley
c54c4f7461
Update CHANGELOG.md 2018-01-16 17:12:27 -08:00
Nathan McKinley
719bbb40aa
Fix autoscaler - was unnecessarily forcing to a single metric (#966)
Fix for autoscalers - we were unnecessarily forcing to a single metric when multiple metrics are supported.
2018-01-16 17:10:13 -08:00
baroncharlus
950e55a94c Changing push url reference from endpoint to push_endpoint. (#957) 2018-01-16 14:44:25 -08:00
Nathan McKinley
b4342875a2
Update CHANGELOG.md 2018-01-16 14:40:31 -08:00
Nathan McKinley
ea50226ade
Add disable_on_destroy option to google_project_service. (#965) 2018-01-16 14:39:27 -08:00
James McGill
bc266979d4 Revert "Ensure Elem is always either a *Schema or *Resource (#929)" (#950)
This reverts commit a3352655ac.
2018-01-12 10:09:06 -08:00
SiruS
d9c7963241 fixing typo for service_scopes (#951) 2018-01-12 10:08:10 -08:00
Vincent Roseberry
7e3f2847c0
Update CHANGELOG.md 2018-01-12 10:06:01 -08:00
Vincent Roseberry
3d178f5633
Fix update when changing health check type (#944) 2018-01-12 10:04:37 -08:00
Nathan McKinley
a3e2c3ea05
Add Dataflow Job 2018-01-10 14:39:31 -08:00