Skip to content

Commit

Permalink
Add tlsEarlyData support to TargetHttpsProxy. (GoogleCloudPlatform#10954
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wu-bin authored and BBBmau committed Jun 24, 2024
1 parent 9eae8d6 commit 362dcac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mmv1/products/compute/TargetHttpsProxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,18 @@ properties:
update_url: 'projects/{{project}}/global/targetHttpsProxies/{{name}}/setQuicOverride'
default_value: :NONE
custom_flatten: 'templates/terraform/custom_flatten/default_if_empty.erb'
- !ruby/object:Api::Type::Enum
name: 'tlsEarlyData'
description: |
Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
Early Data allows a TLS resumption handshake to include the initial application payload
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
values:
- :STRICT
- :PERMISSIVE
- :DISABLED
default_from_api: true
- !ruby/object:Api::Type::Array
name: 'certificateManagerCertificates'
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ resource "google_compute_target_https_proxy" "foobar" {
google_compute_ssl_certificate.foobar2.self_link,
]
quic_override = "ENABLE"
tls_early_data = "STRICT"
}

resource "google_compute_backend_service" "foobar" {
Expand Down

0 comments on commit 362dcac

Please sign in to comment.