Gareth Evans
e14aa8bf39
Added ability to configure resource labels on a GKE cluster
2018-06-15 11:10:25 +01:00
The Magician
43cccf3e2c
Minor cleanup of disk's labelFingerprint. ( #1651 )
2018-06-14 20:34:10 -05:00
The Magician
f4e4d880c5
Autogenerate Route resource. ( #1647 )
2018-06-14 15:22:02 -05:00
Daisuke Fujita
b7f2025fb9
Add project to container_node_pool import name ( #1653 )
...
## What
As well as https://github.com/terraform-providers/terraform-provider-google/pull/1282 , make `resource_container_node_pool` importer accept `{project}/{zone}/{cluster}/{name}` format to specify the project where the node pool belongs to actually.
## Why
Sometimes I want to import container pool in different project from default SA's. However, currently there is no way to specify project the target node pool belongs to, Terraform tries to retrieve node pool from SA's project, then it fails due to `You cannot import non-existent resources using Terraform import.` error.
2018-06-14 09:54:08 -07:00
Stefan Schmidt
502e6176a2
Add a link to the official documentation of launch stages. ( #1654 )
2018-06-14 09:52:26 -07:00
Tom Elliff
e78e593115
Fix connection_name parameter sql_database_instance docs ( #1650 )
...
connection_name is a read only parameter that was added in https://github.com/terraform-providers/terraform-provider-google/pull/406 .
2018-06-13 13:19:08 -07:00
Dana Hoffman
d424cf05ba
fix iot updatemask and docs ( #1640 )
2018-06-13 12:37:21 -07:00
The Magician
50f00fa6dc
Autogenerate the Address resource. ( #1634 )
2018-06-11 17:31:33 -07:00
Nathan McKinley
c51ab5f28e
Update storage_bucket.html.markdown ( #1641 )
...
Comment in #1089 suggests it might be helpful to document dependency of import on Compute API.
2018-06-11 17:48:06 -03:00
Dana Hoffman
13eba21650
update sql user docs/comments ( #1635 )
2018-06-11 13:47:01 -07:00
Paddy
8f9d0785f2
Merge pull request #1622 from terraform-providers/paddy_undeprecate_ssl_name_prefix
...
Undeprecate name_prefix for ssl_certificate.
2018-06-11 13:09:08 -07:00
The Magician
d7d72398b6
zone field in compute disk should be optional ( #1631 )
2018-06-08 15:20:39 -07:00
Vincent Roseberry
dafa6eb504
Fix documentation on is_live for storage_bucket ( #1614 )
2018-06-08 09:26:14 -07:00
Paddy
470f27b659
Undeprecate name_prefix for ssl_certificate.
...
As discussed in #1326 , we're not going to remove name_prefix for
compute_ssl_certificate, because it makes the common use case more
ergonomic by a good amount, and the only cost is it's harder to maintain
the autogenerated code, and we've decided the benefits outweigh the
costs in this circumstance.
2018-06-07 18:29:45 -07:00
Sébastien GLON
d766990ce9
Add new google_compute_regions ( #1603 )
...
* Add new google_compute_regions
* Add docs
* correct doc
2018-06-07 09:52:12 -07:00
Dana Hoffman
55c2c173df
update auth docs ( #1587 )
...
* Added a link to the console page where you can download a file
* Removed instructions on how to get to that page, since now you can just click on the link
* Added caveat for application default credentials
@sethvargo @theacodes @kimcam let me know if this seems reasonable / you have any suggestions!
2018-06-06 10:53:29 -07:00
Vincent Roseberry
01a5dccc3b
Add documentation for network tier ( #1593 )
...
* Add documentation for network tier
* Add named links to fwd rule docs
* add documentation for network address
* Fix typo
2018-06-05 13:42:22 -07:00
Daniel Compton
0b647a3562
Warn about ip_version with ip_address in global forwarding rule ( #616 )
...
If you try and specify them together you will get this error:
google_compute_global_forwarding_rule.your-rule: Error creating Global Forwarding Rule: googleapi: Error 400: Invalid value for field 'resource.ipVersion': 'IPV4'. Both IP Version and IP Address cannot be specified., invalid
2018-06-05 13:39:40 -07:00
Jamie Lennox
f8eb752809
Allow using in repo configuration for cloudbuild trigger ( #1557 )
...
* Allow using in repo configuration for cloudbuild trigger
Cloudbuild triggers have a complex configuration that can be defined
from the API. When using the console, the more typical way of doing this
is to defined the configuration within the repository and point the
configuration to the file that defines the config.
This can be supported by sending the filename parameter instead of the
build parameter, however only one can be sent.
* Acceptance testing for cloudbuild trigger with filename
Ensure that when a cloudbuild repo trigger is created with a filename,
that filename is what actually ends up in the cloud.
* Don't specify "by default" in cloudbuild-trigger.
The docs shouldn't say that "cloudbuild.yaml" is used by default. There
is no default from the APIs, but the console suggest using this value.
Just say it's the typical value in documentation.
2018-06-05 10:17:20 -07:00
The Magician
164936e4a5
add update support for redis ( #1590 )
...
* add update support for redis
* add test for redis update
2018-06-04 17:41:48 -07:00
Tenorio Orta JM
6864f1f9e5
Added GCP Netblock Data Source ( #1416 ) ( #1580 )
...
* Added GCP Netblock Data Source (#1416 )
* Added docs for google_netblock_ip_ranges (#1416 )
* Code review changes (#1416 )
2018-06-04 16:31:09 -07:00
Mikaël Gibert
d60381a693
Implement multiple version in instance group manager ( #1499 )
...
Hi there,
Here is an attempt to implement canary releases ( #1252 ). This is the first time I write golang and make a terraform contribution, I opened the PR to obtain feedback and advices so please let me know how I can improve this code!
In addition I used `make fmt` to format the code but left some lines bigger than 80 characters, do I need to split them ?
I tested the feature against a project with the following configuration:
```
resource "google_compute_health_check" "mikael-hackathon-healthcheck" {
name = "mikael-hackathon-healthcheck"
check_interval_sec = 1
timeout_sec = 1
healthy_threshold = 2
unhealthy_threshold = 10
http_health_check {
request_path = "/"
port = "80"
}
}
resource "google_compute_instance_template" "mikael-hackaton-template" {
name_prefix = "mikael-hackaton-"
description = "This template is used to create app server instances."
tags = ["loadbalanced", "internal-web", "hackaton"]
labels = {
environment = "hackaton"
}
instance_description = "Hackaton demo rolling upgrade"
machine_type = "n1-standard-1"
can_ip_forward = false
scheduling {
automatic_restart = true
on_host_maintenance = "MIGRATE"
}
disk {
source_image = "debian-cloud/debian-9"
disk_type = "pd-standard"
disk_size_gb = 20
auto_delete = true
boot = true
}
network_interface {
network = "default"
access_config = {}
}
service_account {
email = "${google_service_account.mikael-hackaton.email}"
scopes = ["cloud-platform"]
}
lifecycle {
create_before_destroy = true
}
metadata_startup_script = "apt-get update && apt-get install -y apache2 && echo I am stable version at $(hostname) > /var/www/html/index.html"
}
resource "google_compute_instance_template" "mikael-hackaton-template-canary" {
name_prefix = "mikael-hackaton-canary"
description = "This template is used to create app server instances."
tags = ["loadbalanced", "internal-web", "hackaton"]
labels = {
environment = "hackaton"
}
instance_description = "Hackaton demo rolling upgrade"
machine_type = "n1-standard-1"
can_ip_forward = false
scheduling {
automatic_restart = true
on_host_maintenance = "MIGRATE"
}
disk {
source_image = "debian-cloud/debian-9"
disk_type = "pd-standard"
disk_size_gb = 20
auto_delete = true
boot = true
}
network_interface {
network = "default"
access_config = {}
}
service_account {
email = "${google_service_account.mikael-hackaton.email}"
scopes = ["cloud-platform"]
}
lifecycle {
create_before_destroy = true
}
metadata_startup_script = "apt-get update && apt-get install -y apache2 && echo I am a canary at $(hostname) > /var/www/html/index.html"
}
resource "google_compute_target_pool" "mikael-hackaton-target-pool" {
name = "mikael-hackaton-target-pool"
}
resource "google_compute_instance_group_manager" "mikael-hackaton-manager" {
name = "mikael-hackaton-manager"
base_instance_name = "mikael-hackaton"
#instance_template = "${google_compute_instance_template.mikael-hackaton-template.self_link}"
update_strategy = "ROLLING_UPDATE"
zone = "${var.zone}"
target_pools = ["${google_compute_target_pool.mikael-hackaton-target-pool.self_link}"]
target_size = 5
version {
name = "primary"
instance_template = "${google_compute_instance_template.mikael-hackaton-template.self_link}"
}
version {
name = "canary"
instance_template = "${google_compute_instance_template.mikael-hackaton-template-canary.self_link}"
target_size_fixed = 1
}
named_port {
name = "http"
port = 80
}
auto_healing_policies {
health_check = "${google_compute_health_check.mikael-hackathon-healthcheck.self_link}"
initial_delay_sec = 10
}
rolling_update_policy {
type = "PROACTIVE"
minimal_action = "REPLACE"
max_surge_percent = 100
max_unavailable_percent = 50
min_ready_sec = 5
}
}
```
2018-06-04 15:34:48 -07:00
Dana Hoffman
ac6e30d335
allow beta kubernetes logging; add monitoring validation ( #1589 )
...
Fixes #1577
2018-06-04 15:09:52 -07:00
Seth Vargo
3f9a5da0af
Finish GH-1323 ( #1574 )
...
* Clarify format of GCP machineType property
This should not be in a URL style formatting, which the previous language seemed to be implying
* machineType docs for compute_instance_template
* Remove some accidental spaces
* Update from feedback
Closes GH-1323
2018-06-01 15:45:49 -07:00
The Magician
fd208dc7ca
Autogenerate Disk resource ( #1521 ).
2018-05-31 18:10:06 -07:00
Jonathan Pentecost
8f31fec857
New datasource: service account and service account key ( #1535 )
2018-05-31 17:31:45 -07:00
Paddy
c71ab3f62f
Add link to sidebar for liens. ( #1575 )
2018-05-31 15:38:22 -07:00
Bruno
5f0dcf4787
Update container_cluster.html.markdown ( #1570 )
...
* Update container_cluster.html.markdown
Just a more clear explanation of what happens when this field is not provided, since there was already an issue with this topic.
* Update container_cluster.html.markdown
Cleared extra comma.
2018-05-31 09:29:48 -07:00
The Magician
6240cf2ab4
Add support for SSL policy to google_compute_target_ssl_proxy ( #1568 )
2018-05-30 16:00:53 -07:00
Tenorio Orta JM
8a77e42698
Added support for restoring default organization policies ( #1477 )
...
* Added support for restoring default organization policies
* Added support for restoring default folder/project organization policies
* Refactored code
* Fixes #1239
* Clarify docs
* Clarify docs
* Clarify docs
2018-05-30 15:48:08 -07:00
Tenorio Orta JM
c6b0cfcbfa
Added user label support in sql_database_instance ( #1372 ) ( #1567 )
...
* Added user label support in sql_database_instance (#1372 )
* Fixes #1372
2018-05-30 15:32:11 -07:00
David Dobmeier
22be133626
Add "server_ca_cert" Attribute reference ( #1563 )
...
* Add "server_ca_cert" Attribute reference
Documents the addition of the `server_ca_cert` attribute for use in configuring SSL with GCP SQL Instances - added in PR #1020
* Updated formatting
Updates formatting to match the above fields.
2018-05-30 14:21:28 -07:00
Dana Hoffman
dc46348d67
Add support for custom request headers in backend services ( #1537 )
...
* revendor compute beta apis
* changes to subnetwork iam from api revendoring
* add support for custom request headers in backend services
2018-05-29 13:29:40 -07:00
Dana Hoffman
1af48cddf5
add disabled property to firewall ( #1536 )
...
* add disabled property to firewall
* add test and change update to patch
2018-05-29 13:27:29 -07:00
Vincent Roseberry
1d0f88f903
Clarify documentation around JSON credentials file ( #1554 )
2018-05-29 10:57:09 -07:00
etiennedub
656014540d
Update compute_instance.html.markdown : add note about live migration and GPUs ( #1540 )
2018-05-28 09:55:10 -07:00
nownabe
a030dbe205
Fix link to app engine locations page ( #1545 )
2018-05-28 09:26:49 -07:00
Nathan McKinley
9681e76ed3
Update container_cluster.html.markdown
...
#1534 followup - those attributes are documented in the `master_auth` block, which previously didn't mention the computed attributes present.
2018-05-24 17:50:41 -07:00
mclavel
c2a8aeb868
Update container_cluster.html.markdown ( #1534 )
...
adding documentation about attributes `username` and `password` for `master_auth`.
2018-05-24 17:17:44 -07:00
Dana Hoffman
974c3f7646
Add GKE Shared VPC support ( #1528 )
...
All this needed was to allow setting the network/subnetwork to a self link.
~WIP for now because I want to run the tests in CI.~ Tests are passing.
2018-05-23 16:47:17 -07:00
Dana Hoffman
b8ac22d936
Add redis docs to sidebar ( #1527 )
2018-05-23 13:06:43 -07:00
The Magician
488b9e86f3
Redis resource ( #1485 )
...
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-05-23 11:25:48 -07:00
Dana Hoffman
20616e424d
Use new serviceusage API for google_project_service[s]
( #1522 )
...
* vendor service usage api
* use serviceusage api instead of servicemanagement for project services
* add bigquery-json to test
* add import for project service
* add serviceusage_operation.go
2018-05-22 17:45:22 -07:00
Michael Parker
ed36405b02
Small typo fix for google_kms_key_ring_iam docs ( #1517 )
...
~binging~ => binding
2018-05-22 13:32:34 -07:00
Michael Parker
0f2f6a194e
Updates google_kms_crypto_key_iam_binding documentation import syntax ( #1518 )
2018-05-22 12:48:20 -07:00
Jonathan Pentecost
73c65e80f0
website/docs/r/google_service_account_key.html.markdown: fixed docs ( #1512 )
2018-05-21 15:05:55 -07:00
Frank Schröder
42e7e4f30a
Fix cloudiot example ( #1514 )
...
The topic names for state and event notifications are the other way around.
2018-05-21 15:04:48 -07:00
Justin Schulz
9184dbc957
Update PostGRES cloudsql docs ( #1516 )
...
This is now GA, so removing that caveat.
2018-05-21 14:57:50 -07:00
Nathan McKinley
ca83ea530a
Revert #1510 and #1508 . ( #1515 )
2018-05-21 13:09:15 -07:00
Paddy
cd7364d649
Merge pull request #1503 from terraform-providers/paddy_app_engine_app
...
Add App Engine Application support
2018-05-18 17:12:34 -07:00
Nathan McKinley
5a8684d614
One more rename resourcemanager -> Resource Manager. ( #1510 )
2018-05-18 17:03:15 -07:00
Jonathan Pentecost
cfa914581a
website/docs/d/datasource_client_config: docs use datasource ( #1502 )
...
The docs currently don't use the datasource version of
'google_client_config'. This PR just prefixes 'data.'
to 'google_client_config' in the datasource docs.
2018-05-18 10:48:31 -07:00
Christoph Tavan
0bcb01266c
Add google_logging_project_exclusion resource ( #990 )
...
Adds support for log exclusions in billingAccounts, organizations,
folders and projects, see:
https://cloud.google.com/logging/docs/exclusions
```
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./google -v -run=Exclusion -timeout 120m
=== RUN TestAccLoggingBillingAccountExclusion_basic
=== PAUSE TestAccLoggingBillingAccountExclusion_basic
=== RUN TestAccLoggingBillingAccountExclusion_update
=== PAUSE TestAccLoggingBillingAccountExclusion_update
=== RUN TestAccLoggingFolderExclusion_basic
=== PAUSE TestAccLoggingFolderExclusion_basic
=== RUN TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath
=== PAUSE TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath
=== RUN TestAccLoggingFolderExclusion_update
=== PAUSE TestAccLoggingFolderExclusion_update
=== RUN TestAccLoggingOrganizationExclusion_basic
=== PAUSE TestAccLoggingOrganizationExclusion_basic
=== RUN TestAccLoggingOrganizationExclusion_update
=== PAUSE TestAccLoggingOrganizationExclusion_update
=== RUN TestAccLoggingProjectExclusion_basic
=== PAUSE TestAccLoggingProjectExclusion_basic
=== RUN TestAccLoggingProjectExclusion_disablePreservesFilter
=== PAUSE TestAccLoggingProjectExclusion_disablePreservesFilter
=== RUN TestAccLoggingProjectExclusion_update
=== PAUSE TestAccLoggingProjectExclusion_update
=== CONT TestAccLoggingBillingAccountExclusion_basic
=== CONT TestAccLoggingOrganizationExclusion_update
=== CONT TestAccLoggingProjectExclusion_update
=== CONT TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath
=== CONT TestAccLoggingOrganizationExclusion_basic
--- PASS: TestAccLoggingProjectExclusion_update (3.60s)
--- PASS: TestAccLoggingOrganizationExclusion_update (4.40s)
=== CONT TestAccLoggingFolderExclusion_update
--- PASS: TestAccLoggingOrganizationExclusion_basic (1.90s)
=== CONT TestAccLoggingFolderExclusion_basic
--- PASS: TestAccLoggingBillingAccountExclusion_basic (6.21s)
=== CONT TestAccLoggingBillingAccountExclusion_update
--- PASS: TestAccLoggingBillingAccountExclusion_update (5.90s)
=== CONT TestAccLoggingProjectExclusion_disablePreservesFilter
--- PASS: TestAccLoggingProjectExclusion_disablePreservesFilter (3.90s)
=== CONT TestAccLoggingProjectExclusion_basic
--- PASS: TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath (16.67s)
--- PASS: TestAccLoggingProjectExclusion_basic (1.96s)
--- PASS: TestAccLoggingFolderExclusion_basic (15.30s)
--- PASS: TestAccLoggingFolderExclusion_update (18.35s)
PASS
ok github.com/terraform-providers/terraform-provider-google/google 22.810s
```
2018-05-18 08:55:04 -07:00
Vincent Roseberry
7a5a84e31d
Fix api link in region backend service ( #1505 )
2018-05-17 17:20:50 -07:00
The Magician
56481d8316
Add liens resource. ( #1484 )
2018-05-17 16:33:30 -07:00
Paddy
f78de6b76e
Drop the resources we can't support.
...
IAP has no reasonable support policy, because PATCH is broken, and IAP
must be configured with an OAuth2 client ID and secret that belongs to
the project the app is associated with. There's no programmatic way to
create Clients. But we create the project and the app at the same time,
and we can't update because PATCH is broken. So this just drops IAP. It
also forces all our updates to ForceNew, because we can't update.
Also, adds more test coverage and docs, and fixes import by not relying
on the config for setting app engine info in state.
2018-05-17 14:47:34 -07:00
emily
6ae7dc6f72
document custom machine type for GKE cluster node config ( #1497 )
2018-05-15 16:10:04 -07:00
emily
d360236a8d
Allow bigquery regional location ( #1496 )
...
* Allow bigquery regional location
* remove stale comment about location
2018-05-15 14:36:12 -07:00
emily
3cc868b4a9
Fix order of getting project for storage notification topic ( #1490 )
...
* fix getting project for storage notification topic
* add more documentation for storage notification topic
2018-05-15 13:30:59 -07:00
The Magician
7d25053713
Don't override blindly ResourceRef description ( #1483 )
2018-05-14 15:04:41 -07:00
The Magician
5e0d39225f
Release generated SSLPolicy ( #1478 )
2018-05-14 09:52:33 -07:00
The Magician
6a01bb8cff
Fix indentation in property documentation ( #1481 )
2018-05-11 15:25:06 -07:00
The Magician
da0b6f9d48
Add support for ssl_policy to google_target_https_proxy ( #1466 )
2018-05-09 15:55:17 -07:00
Nathan McKinley
560e180693
Allow use of provider region, with big caveats in docs. ( #1463 )
2018-05-09 14:16:49 -07:00
Dana Hoffman
08b5804b70
add ability to retry cloud functions on failure ( #1452 )
2018-05-09 13:57:54 -07:00
Nathan McKinley
95e84aed83
Change in firewall rule handling so that only one service account (for source / target) is permitted. ( #1462 )
2018-05-09 13:38:00 -07:00
Dana Hoffman
8907321d60
Roll forward beta scaffolding PR ( #1453 )
...
* Revert "Merge pull request #1434 from terraform-providers/paddy_revert_beta"
This reverts commit 118cd71201
, reversing
changes made to d59fcbbc59
.
* add ConvertSelfLinkToV1 calls to places where beta links are stored
2018-05-09 11:24:40 -07:00
Rene Kroon
dda26771d3
#843 : Add policy support to storage buckets ( #1190 )
2018-05-08 14:00:48 -07:00
Vincent Roseberry
038cd0b7d1
Add support for regional cluster in datasource ( #1441 )
2018-05-07 15:02:14 -07:00
Dan Couture
4f7a6c828f
Add new google_cloudbuild_trigger
resource ( #1357 )
2018-05-07 12:53:34 -07:00
Paddy Carver
aa2626b490
Revert "remove switch statements between api versions for compute"
...
This reverts commit bf1b3a24e8c1cac832e74d9d0e145c7010a4c2f1.
2018-05-04 07:51:45 -07:00
Paddy
afcd482297
Merge pull request #1387 from terraform-providers/paddy_spanner_instance_iam
...
Add support for IAM on Spanner Instances.
2018-05-03 15:46:31 -07:00
Dana Hoffman
30409d315e
Remove switch statements between api versions for compute ( #1422 )
2018-05-03 12:24:21 -07:00
Paddy
e000ff5035
Add docs for enabling flow logs.
2018-05-02 11:51:34 -07:00
Paddy Carver
6cb9f4c51c
Merge branch 'master' into paddy_spanner_instance_iam
2018-05-02 11:39:08 -07:00
Paddy
008316fcd8
Merge pull request #1386 from terraform-providers/paddy_spanner_database_iam
...
Add IAM resources for Spanner databases.
2018-05-02 11:35:59 -07:00
The Magician
363f85a057
Ansible: Backend Bucket fixes ( #1418 )
2018-05-02 11:16:17 -07:00
Paddy Carver
bc74070785
Add warning about IAM policy.
2018-05-02 11:08:08 -07:00
Paddy
fa7b326792
Fix sidebar highlighting.
2018-05-02 11:04:19 -07:00
Paddy Carver
6827612f00
Add Spanner database IAM docs
2018-05-02 10:58:04 -07:00
Paddy
87a7af9c2b
Merge branch 'master' into paddy_spanner_instance_iam
2018-05-02 10:40:20 -07:00
Paddy Carver
6c2e6de18e
Add docs for spanner IAM.
2018-05-02 10:32:42 -07:00
The Magician
77a02b2b68
Generate google_target_tcp_proxy using Magic Modules ( #1415 )
2018-05-02 10:01:37 -07:00
Clint
4ccb099699
Fix page render of \" for DNS Record docs, also reword a bit ( #1414 )
2018-05-01 15:22:29 -07:00
The Magician
7eac32ab1f
Generate google_target_tcp_proxy using Magic Module ( #1406 )
2018-05-01 15:04:56 -07:00
The Magician
1d05aa3a3a
Generate google_vpn_gateway using Magic Module ( #1409 )
2018-05-01 13:48:56 -07:00
The Magician
2e9c14ea49
Fix generated documentation to avoid breaking layout ( #1405 )
2018-04-30 14:27:45 -07:00
The Magician
df568b188c
Release generated GlobalAddress ( #1379 )
2018-04-27 14:53:45 -07:00
The Magician
b3a722ee39
Generate google_target_http_proxy using MagicModule ( #1391 )
2018-04-26 18:06:10 -07:00
Darren Haken
2b1b668953
#1300 Supporting regional clusters for node pools ( #1320 )
...
This PR also switched us to using the beta API in all cases, and that had a side effect which is worth noting, note included here for posterity.
=====
The problem is, we add a GPU, and as per the docs, GKE adds a taint to
the node pool saying "don't schedule here unless you tolerate GPUs",
which is pretty sensible.
Terraform doesn't know about that, because it didn't ask for the taint
to be added. So after apply, on refresh, it sees the state of the world
(1 taint) and the state of the config (0 taints) and wants to set the
world equal to the config. This introduces a diff, which makes the test
fail - tests fail if there's a diff after they run.
Taints are a beta feature, though. :) And since the config doesn't
contain any taints, terraform didn't see any beta features in that node
pool ... so it used to send the request to the v1 API. And since the v1
API didn't return anything about taints (since they're a beta feature),
terraform happily checked the state of the world (0 taints I know about)
vs the config (0 taints), and all was well.
This PR makes every node pool refresh request hit the beta API. So now
terraform finds out about the taints (which were always there) and the
test fails (which it always should have done).
The solution is probably to write a little bit of code which suppresses
the report of the diff of any taint with value 'nvidia.com/gpu', but
only if GPUs are enabled. I think that's something that can be done.
2018-04-24 17:55:21 -07:00
The Magician
e02587855a
Release autogenerated google_compute_target_ssl_proxy resource ( #1373 )
2018-04-24 14:01:53 -07:00
Nathan McKinley
d3bbfbd22b
Add DNS PTR record to Compute Instance ( #1349 )
2018-04-20 11:14:38 -07:00
The Magician
e67ca9d0c3
Magic Modules changes. ( #1362 )
2018-04-19 15:48:25 -07:00
jschwing
0ae2047783
Add max_connections and max_connections_per_instance to backend service ( #1353 )
2018-04-19 14:00:34 -07:00
Nathan McKinley
8ca616e707
Add default cluster version to data source. ( #1355 )
2018-04-19 10:59:52 -07:00
Nathan McKinley
3628e263e2
Switch from protoc_output to protoc_output_base64. ( #1290 )
2018-04-17 13:00:37 -07:00
Vincent Roseberry
49191c5d91
Fix auto-delete default network in google_project. ( #1336 )
...
* Use projectId and enable required compute API
* Delete firewall rules before deleting default network
2018-04-16 10:25:49 -07:00
Shashank Saxena
59697c6f6b
Typo in the documentation ( #1330 )
...
Fixed a small but pretty critical typo on the terraform docs for GCP
2018-04-13 11:39:12 -07:00
Vincent Roseberry
4695f6fe81
Notice changes ( #1329 )
2018-04-12 16:08:42 -07:00
Dana Hoffman
bde72e7576
un-deprecate name_prefix for instance templates ( #1328 )
2018-04-12 16:08:31 -07:00