Commit Graph

45 Commits

Author SHA1 Message Date
The Magician
ddd5a4663e Add HTTP2 protocol to backend service (#3631)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-05-16 10:12:59 -07:00
The Magician
6b0f50e1f1 Change the hash function to be more format tolerant (#3610)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-05-13 15:43:58 -07:00
The Magician
5d1e03906d Update BackendService docs to reflect being GLB only (#3503)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-04-30 14:36:44 -07:00
The Magician
f47d1353d8 Allow BackendService backends.group to ref multiple resource types (#3463)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-04-22 11:11:24 -07:00
The Magician
c4d8953838 Handle nil IAP in backend service decoder (#3459)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-04-18 14:15:42 -07:00
The Magician
f6312500fe Cleanup BackendService after generation, add omitted fields. (#3375)
<!-- This change is generated by MagicModules. -->
Original Author: @rileykarson
2019-04-04 13:50:31 -07:00
The Magician
7d66019993 Generate BackendService in Terraform (#3345)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-04-02 14:32:09 -07:00
The Magician
8b6a334ff9 Shuffle schema in BackendService around to match what MM will do (#3340)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-03-29 15:12:51 -07:00
The Magician
4708ab21b3 Fix CI problems for 0.12 SDK (#3252)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-03-15 16:34:30 -07:00
The Magician
23db6b0c12 Fix golangci-lint errors (#3059)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-02-14 16:00:35 -08:00
The Magician
e5a1c5f997 Fix issue with google_compute_backend_service IAP client secret @ update (#2978)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-02-01 10:57:45 -08:00
The Magician
6e5bd62ee6 Guard self links inside google_compute_backend_service (#2918)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-01-23 14:41:55 -08:00
The Magician
e44f505943 Add affinityCookieTtlSec property in google_compute_backend_service (#2741) 2018-12-21 16:54:17 -08:00
The Magician
c605b0bc4b [Terraform]: Apply gofmt -s to all files managed by MM (#2676)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
b00b5ac74b Remove backend_service.custom_request_headers from the GA provider (#2405)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Riley Karson
5512f8a961 Guard against nil empty typelists. 2018-10-11 09:48:19 -07:00
Paddy Carver
9a3dd8db6e Fix provider_versions.html link. 2018-10-03 18:46:20 -07:00
Riley Karson
ee67a87a65 Change deprecation message. 2018-10-03 12:58:52 -07:00
Riley Karson
a8747b4909 Deprecate handwritten beta fields. 2018-10-02 14:44:09 -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
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
Paddy Carver
aa2626b490 Revert "remove switch statements between api versions for compute"
This reverts commit bf1b3a24e8c1cac832e74d9d0e145c7010a4c2f1.
2018-05-04 07:51:45 -07:00
Dana Hoffman
30409d315e
Remove switch statements between api versions for compute (#1422) 2018-05-03 12:24:21 -07:00
jschwing
0ae2047783 Add max_connections and max_connections_per_instance to backend service (#1353) 2018-04-19 14:00:34 -07:00
Dana Hoffman
790711c649
add support for security policies in backend services (#1243) 2018-03-22 09:53:24 -07:00
Dana Hoffman
ddfb7ef2cf
fix panic when setting empty iap block (#1232) 2018-03-20 15:41:58 -07:00
Paddy Carver
53c905b99a Back out the Set changes from #1217.
PR #1217 mistakenly updated the Set logic when flattening backends,
which caused some cascading errors and wasn't strictly necessary to
resolve the issue at hand. This backs out those changes, and instead
makes the smallest possible change to resolve the initial error, by
separating the logic for flattening regional backends from the logic for
flattening global backends.
2018-03-19 12:08:58 -07:00
Paddy Carver
aefef54ab0 Fix our calls to d.Set that returned errors.
We had several calls to `d.Set` that returned errors we weren't
catching, that turning on the panic flag for the tests caught. This PR
addresses them, and fixes the one test that was not safe to run in
parallel because it relied on a hardcoded name being unique.

This is largely just removing calls to `d.Set` for fields that don't
exist in the Schema, fixing how Sets get set, correcting typos, and
converting types.
2018-03-19 09:47:33 -07:00
Nathan McKinley
dd79754059
cdn_policy should also be computed. (#1210) 2018-03-16 13:56:27 -07:00
Dana Hoffman
eb8b19eeef
Add cdn_policy field to backend service (#1208)
* Add CDN policy support

* docs and reorderings for cdn policy

* test fmt
2018-03-16 10:50:32 -07:00
Vincent Roseberry
304c0aa6cb
Move method out of resource file to prepare for autogen (#1102) 2018-02-20 12:40:02 -08:00
Vincent Roseberry
388f9bcd79
Don't set MaxRate and MaxRateInstance (#1053)
* Don't set MaxRate and MaxRateInstance

* Fix if check
2018-02-05 12:58:11 -08:00
Emily Ye
24975fedd2 force send numeric values if set for compute backend services 2018-01-30 17:01:46 -08:00
Vincent Roseberry
999ae08957
Fix flatten IAP and improve import test (#907) 2018-01-02 15:47:28 -05:00
Vincent Roseberry
6c5d6b72e0
Store project and region in state (#784)
* Store project and region in state

* Delete unused project in runtimeconfig_variable
2017-11-27 16:32:20 -08:00
Antonio Lobato
d37f352f41 Add IAP support for backend services (#471)
* initial work on adding IAP support for backend services

* readback of IAP

* flatten IAP + static set id

* expandIap function

* removed enabled flag/state rework

Removed the enabled flag for IAP
IAP is now enabled when the client id and secret are set
IAP now correctly disables when IAP stanza is removed
Client secret is now correctly hashed against the secret hash stored on the server

* Tests for IAP

* added comments, fixed tabs.

* testing for IAP disabled
2017-10-31 16:27:03 -07:00
Joe Selman
2765290724 Add label support to google_compute_snapshot (#570)
* Add label support to google_compute_snapshot
* Refactor operation polling code to use client directly
2017-10-13 15:36:03 -07:00
Dana Hoffman
ea909a3409 Change group back to Optional in google_compute_backend_service (#576)
* change group back to optional

* fix build
2017-10-12 09:21:35 -07:00
Dana Hoffman
754e6daceb Fix BackendService group hash when instance groups use beta features (#522)
* change backend hash function

* update if statement
2017-10-04 16:49:02 -07:00
Joe Selman
5cd3e1ec99 Write entire backend service resource when updating (#364)
Also update the default value for connection_draining_timeout_sec to
match the default used by GCP
2017-09-07 12:56:53 -07:00
Riley Karson
1f8254f260 Migrate all occurrences of WaitGlobal/WaitGlobal time to universal wait. (#243) 2017-07-26 09:40:06 -07:00
Riley Karson
4cc6e9939a Add name validation function, standardise validation functions used (#164)
* Used standard validation functions where possible, added a GCP name validation function.

* Add tests for GCP name, factor out a ValidateRegexp function.

* make fmt
2017-07-07 12:48:29 -07:00
Riley Karson
6f8b415b42 Restrict the number of health_checks in Backend Service resources to 1. 2017-06-20 10:26:09 -07:00
Joe Selman
3b7f6d67da Add compute_backend_service import support (#40)
* Add compute_backend_service import support

* Fixed the nit

* Made example names a bit more intuitive

* Use underscores wherever possible instead of dashes
2017-06-14 16:13:52 -05:00
Jake Champlin
8602b34591 Transfer google provider 2017-06-09 16:50:30 +00:00