Skip to content

Commit 7922e48

Browse files
Release/0.16.0 (#188)
* chore: bump speakeasy to 1.724.1 (#185) * Chore/sync with platform api 2026.02.24 (#186) * tests: fix according to event gateway breaking changes * OpenAPI changes * Generated provider and docs * Update CHANGELOG.md * feat: Updated OpenAPI file for cloud gateway-addon. (#187) * feat: Updated OpenAPI file for cloud gateway-addon. * feat: added .go files, .speakeasy and docs directory * feat: added test for cloud gateway add-on * fix: resolved review comments on test * chore: prepare for v0.16.0 release * Fix/cgw addon resource name (#189) * OpenAPI changes * Generated provider, docs and examples * tests: rename resource * Update CHANGELOG.md --------- Co-authored-by: shivaygupta-dotcom <shivay.gupta@konghq.com>
1 parent 69070a2 commit 7922e48

File tree

435 files changed

+8186
-4505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+8186
-4505
lines changed

.speakeasy/gen.lock

Lines changed: 1046 additions & 799 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
speakeasyVersion: 1.676.1
1+
speakeasyVersion: 1.724.1
22
sources: {}
33
targets:
44
terraform:
55
source: kong
66
workflow:
77
workflowVersion: 1.0.0
8-
speakeasyVersion: 1.676.1
8+
speakeasyVersion: 1.724.1
99
sources:
1010
kong:
1111
inputs:

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: 1.676.1
2+
speakeasyVersion: 1.724.1
33
sources:
44
kong:
55
inputs:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## 0.16.0
4+
> Released on 2026/03/02
5+
6+
### BREAKING CHANGES
7+
* `event_gateway_listener_id` renamed to `listener_id` in `konnect_event_gateway_listener_policy_forward_to_virtual_cluster` and `konnect_event_gateway_listener_policy_tls_server`
8+
* Schema registry references simplified to use `id` directly instead of `schema_registry_reference_by_id`/`schema_registry_reference_by_name` in `konnect_event_gateway_consume_policy_schema_validation` and `konnect_event_gateway_produce_policy_schema_validation`
9+
* Virtual cluster references simplified to use `id` directly instead of `virtual_cluster_reference_by_id`/`virtual_cluster_reference_by_name` in `konnect_event_gateway_listener_policy_forward_to_virtual_cluster`
10+
* Static key references simplified to use `id` directly instead of `reference_by_id`/`reference_by_name` in `konnect_event_gateway_produce_policy_encrypt`
11+
12+
### Features
13+
* Add support for configuring Managed Cache in Cloud Gateway using `konnect_cloud_gateway_addon` resource
14+
315
## 0.15.0
416
> Released on 2026/02/16
517

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ terraform {
1616
required_providers {
1717
konnect-beta = {
1818
source = "kong/konnect-beta"
19-
version = "0.15.0"
19+
version = "0.16.0"
2020
}
2121
}
2222
}
2323
2424
provider "konnect-beta" {
25-
# Configuration options
25+
server_url = "..." # Optional - can use KONNECT_SERVER_URL environment variable
2626
}
2727
```
2828

docs/resources/auth_server_clients.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ resource "konnect_auth_server_clients" "my_authserverclients" {
3535
redirect_uris = [
3636
"https://flashy-sauerkraut.com/"
3737
]
38+
refresh_token_duration = 84206233
3839
response_types = [
3940
"none"
4041
]
@@ -65,6 +66,7 @@ resource "konnect_auth_server_clients" "my_authserverclients" {
6566
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
6667
- `login_uri` (String) The URI of the login page where the user is redirected to authenticate in interactive flows. The login page must be secure (HTTPS).
6768
- `redirect_uris` (List of String) The URIs that the client is allowed to redirect to after authentication in interactive flows. All redirect URIs must be absolute URIs, be secure (HTTPS), and must not include a fragment component.
69+
- `refresh_token_duration` (Number) The duration of the minted refresh token is valid for, in seconds. Default: 2592000
6870
- `token_endpoint_auth_method` (String) Requested authentication method for OAuth 2.0 endpoints. Default: "client_secret_post"; must be one of ["client_secret_post", "none"]
6971

7072
### Read-Only
Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "konnect_cloud_gateway_addon Resource - terraform-provider-konnect-beta"
4+
subcategory: ""
5+
description: |-
6+
CloudGatewayAddon Resource
7+
---
8+
9+
# konnect_cloud_gateway_addon (Resource)
10+
11+
CloudGatewayAddon Resource
12+
13+
## Example Usage
14+
15+
```terraform
16+
resource "konnect_cloud_gateway_addon" "my_cloudgatewayaddon" {
17+
provider = konnect-beta
18+
config = {
19+
managed_cache = {
20+
capacity_config = {
21+
tiered = {
22+
tier = "2xlarge"
23+
}
24+
}
25+
}
26+
}
27+
name = "my-add-on"
28+
owner = {
29+
control_plane_group = {
30+
control_plane_group_geo = "me"
31+
control_plane_group_id = "123e4567-e89b-12d3-a456-426614174000"
32+
}
33+
}
34+
}
35+
```
36+
37+
<!-- schema generated by tfplugindocs -->
38+
## Schema
39+
40+
### Required
41+
42+
- `config` (Attributes) Configuration for creating different types of add-ons. Requires replacement if changed. (see [below for nested schema](#nestedatt--config))
43+
- `name` (String) Unique human-readable name of the add-on. Requires replacement if changed.
44+
- `owner` (Attributes) Owner for the add-on. Requires replacement if changed. (see [below for nested schema](#nestedatt--owner))
45+
46+
### Read-Only
47+
48+
- `created_at` (String) RFC-3339 timestamp representation of add-on creation date.
49+
- `entity_version` (Number) Monotonically-increasing version count of the add-on, to indicate the order of updates to the add-on.
50+
- `id` (String) The ID of this resource.
51+
- `state` (String) The current state of the add-on. Possible values:
52+
- `initializing` - The add-on is in the process of being initialized/updated.
53+
- `ready` - The add-on is fully operational.
54+
- `terminating` - The add-on is in the process of being deleted.
55+
- `updated_at` (String) RFC-3339 timestamp representation of add-on update date.
56+
57+
<a id="nestedatt--config"></a>
58+
### Nested Schema for `config`
59+
60+
Optional:
61+
62+
- `managed_cache` (Attributes) Configuration for creating a managed cache add-on. Requires replacement if changed. (see [below for nested schema](#nestedatt--config--managed_cache))
63+
64+
Read-Only:
65+
66+
- `managed_cache_add_on_config_response` (Attributes) Configuration for managed cache add-on. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response))
67+
68+
<a id="nestedatt--config--managed_cache"></a>
69+
### Nested Schema for `config.managed_cache`
70+
71+
Required:
72+
73+
- `capacity_config` (Attributes) Configuration for managed cache capacity and performance characteristics. Requires replacement if changed. (see [below for nested schema](#nestedatt--config--managed_cache--capacity_config))
74+
75+
<a id="nestedatt--config--managed_cache--capacity_config"></a>
76+
### Nested Schema for `config.managed_cache.capacity_config`
77+
78+
Optional:
79+
80+
- `tiered` (Attributes) Capacity tiers with pre-configured size and performance characteristics. Requires replacement if changed. (see [below for nested schema](#nestedatt--config--managed_cache--capacity_config--tiered))
81+
82+
<a id="nestedatt--config--managed_cache--capacity_config--tiered"></a>
83+
### Nested Schema for `config.managed_cache.capacity_config.tiered`
84+
85+
Required:
86+
87+
- `tier` (String) Capacity tier that determines both cache size and performance characteristics:
88+
- micro: ~0.5 GiB capacity
89+
- small: ~1 GiB capacity
90+
- medium: ~3 GiB capacity
91+
- large: ~6 GiB capacity
92+
- xlarge: ~12 GiB capacity
93+
- 2xlarge: ~25 GiB capacity
94+
- 4xlarge: ~52 GiB capacity
95+
must be one of ["micro", "small", "medium", "large", "xlarge", "2xlarge", "4xlarge"]; Requires replacement if changed.
96+
97+
98+
99+
100+
<a id="nestedatt--config--managed_cache_add_on_config_response"></a>
101+
### Nested Schema for `config.managed_cache_add_on_config_response`
102+
103+
Read-Only:
104+
105+
- `capacity_config` (Attributes) Configuration for managed cache capacity and performance characteristics. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response--capacity_config))
106+
- `data_plane_groups` (Attributes List) List of data-plane groups where the managed cache is deployed. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response--data_plane_groups))
107+
- `state_metadata` (Attributes) Metadata describing the state of the managed cache add-on. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response--state_metadata))
108+
109+
<a id="nestedatt--config--managed_cache_add_on_config_response--capacity_config"></a>
110+
### Nested Schema for `config.managed_cache_add_on_config_response.capacity_config`
111+
112+
Read-Only:
113+
114+
- `tiered` (Attributes) Capacity tiers with pre-configured size and performance characteristics. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response--capacity_config--tiered))
115+
116+
<a id="nestedatt--config--managed_cache_add_on_config_response--capacity_config--tiered"></a>
117+
### Nested Schema for `config.managed_cache_add_on_config_response.capacity_config.tiered`
118+
119+
Read-Only:
120+
121+
- `tier` (String) Capacity tier that determines both cache size and performance characteristics:
122+
- micro: ~0.5 GiB capacity
123+
- small: ~1 GiB capacity
124+
- medium: ~3 GiB capacity
125+
- large: ~6 GiB capacity
126+
- xlarge: ~12 GiB capacity
127+
- 2xlarge: ~25 GiB capacity
128+
- 4xlarge: ~52 GiB capacity
129+
130+
131+
132+
<a id="nestedatt--config--managed_cache_add_on_config_response--data_plane_groups"></a>
133+
### Nested Schema for `config.managed_cache_add_on_config_response.data_plane_groups`
134+
135+
Read-Only:
136+
137+
- `cloud_gateway_network_id` (String) Network ID this data-plane group is attached to.
138+
- `id` (String) ID of the data-plane group.
139+
- `provider` (String) Name of cloud provider.
140+
- `region` (String) Region of cloud provider the data-plane group is deployed to.
141+
- `state` (String) The current state of the managed cache add-on in the data-plane group. Possible values:
142+
- `initializing` - The add-on is in the process of being initialized/updated and is setting up necessary resources for this data-plane group.
143+
- `ready` - The add-on is fully operational for this data-plane group.
144+
- `error` - The add-on is in an error state, and is not operational for this data-plane group.
145+
- `terminating` - The add-on is in the process of being deleted for this data-plane group.
146+
- `state_metadata` (Attributes) Metadata describing the state of the managed cache add-on in the data-plane group. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response--data_plane_groups--state_metadata))
147+
148+
<a id="nestedatt--config--managed_cache_add_on_config_response--data_plane_groups--state_metadata"></a>
149+
### Nested Schema for `config.managed_cache_add_on_config_response.data_plane_groups.state_metadata`
150+
151+
Read-Only:
152+
153+
- `error_reason` (String) Reason why the managed cache add-on may be in an error state, reported from backing infrastructure.
154+
155+
156+
157+
<a id="nestedatt--config--managed_cache_add_on_config_response--state_metadata"></a>
158+
### Nested Schema for `config.managed_cache_add_on_config_response.state_metadata`
159+
160+
Read-Only:
161+
162+
- `cache_config_id` (String) Reference to cache configuration for this add-on.
163+
- `cache_host` (String) Env vault path to cache hostname.
164+
- `cache_port` (String) Env vault path to cache port.
165+
- `cache_server_name` (String) Env vault path to cache server name.
166+
- `cache_username` (String) Env vault path to cache username.
167+
- `cloud_authentication` (Attributes) Metadata describing the cloud authentication details for managed cache add-on. (see [below for nested schema](#nestedatt--config--managed_cache_add_on_config_response--state_metadata--cloud_authentication))
168+
169+
<a id="nestedatt--config--managed_cache_add_on_config_response--state_metadata--cloud_authentication"></a>
170+
### Nested Schema for `config.managed_cache_add_on_config_response.state_metadata.cloud_authentication`
171+
172+
Read-Only:
173+
174+
- `auth_provider` (String) Env vault path to cache auth provider.
175+
- `aws_assume_role_arn` (String) Env vault path to aws assume role arn.
176+
- `aws_cache_name` (String) Env vault path to aws cache name.
177+
- `aws_region` (String) Env vault path to aws region.
178+
- `azure_tenant_id` (String) Env vault path to azure tenant id.
179+
180+
181+
182+
183+
184+
<a id="nestedatt--owner"></a>
185+
### Nested Schema for `owner`
186+
187+
Optional:
188+
189+
- `control_plane` (Attributes) Control Plane is the owner for the add-on. Requires replacement if changed. (see [below for nested schema](#nestedatt--owner--control_plane))
190+
- `control_plane_group` (Attributes) Control Plane Group is the owner for the add-on. Requires replacement if changed. (see [below for nested schema](#nestedatt--owner--control_plane_group))
191+
192+
<a id="nestedatt--owner--control_plane"></a>
193+
### Nested Schema for `owner.control_plane`
194+
195+
Optional:
196+
197+
- `control_plane_geo` (String) Set of control-plane geos supported for deploying cloud-gateways configurations. Not Null; must be one of ["us", "eu", "au", "me", "in", "sg"]; Requires replacement if changed.
198+
- `control_plane_id` (String) ID of the control-plane that owns this add-on. Not Null; Requires replacement if changed.
199+
200+
201+
<a id="nestedatt--owner--control_plane_group"></a>
202+
### Nested Schema for `owner.control_plane_group`
203+
204+
Optional:
205+
206+
- `control_plane_group_geo` (String) Set of control-plane geos supported for deploying cloud-gateways configurations. Not Null; must be one of ["us", "eu", "au", "me", "in", "sg"]; Requires replacement if changed.
207+
- `control_plane_group_id` (String) ID of the control-plane group that owns this add-on. Not Null; Requires replacement if changed.
208+
209+
## Import
210+
211+
Import is supported using the following syntax:
212+
213+
In Terraform v1.5.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `id` attribute, for example:
214+
215+
```terraform
216+
import {
217+
to = konnect_cloud_gateway_addon.my_konnect_cloud_gateway_addon
218+
id = "550e8400-e29b-41d4-a716-446655440000"
219+
}
220+
```
221+
222+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
223+
224+
```shell
225+
terraform import konnect_cloud_gateway_addon.my_konnect_cloud_gateway_addon "550e8400-e29b-41d4-a716-446655440000"
226+
```

docs/resources/dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ resource "konnect_dashboard" "my_dashboard" {
5252
]
5353
granularity = "twelveHourly"
5454
metrics = [
55-
"kong_latency_p50"
55+
"kong_latency_average"
5656
]
5757
time_range = {
5858
relative = {

docs/resources/event_gateway_backend_cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ resource "konnect_event_gateway_backend_cluster" "my_eventgatewaybackendcluster"
6161

6262
### Optional
6363

64-
- `description` (String) A human-readable description of the virtual cluster. Default: ""
64+
- `description` (String) A human-readable description of the backend cluster. Default: ""
6565
- `insecure_allow_anonymous_virtual_cluster_auth` (Boolean) If true, virtual clusters can have allow anonymous authentication and use this backend cluster.
6666
This setting is not recommended for production use as it may create privilege escalation vulnerabilities.
6767
Default: false

docs/resources/event_gateway_cluster_policy_acls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Required:
8585

8686
- `action` (String) How to handle the request if the rule matches. must be one of ["allow", "deny"]
8787
- `operations` (Attributes List) Types of Kafka operations to match against. Note that not every operation can apply to every resource type. (see [below for nested schema](#nestedatt--config--rules--operations))
88-
- `resource_names` (Attributes List) If any of these entries match, the resource name matches for this rule. (see [below for nested schema](#nestedatt--config--rules--resource_names))
88+
- `resource_names` (Attributes List) If any of these entries match, the resource name matches for this rule. A maximum of 50 entries are allowed. (see [below for nested schema](#nestedatt--config--rules--resource_names))
8989
- `resource_type` (String) This rule applies to access only for type of resource. must be one of ["topic", "group", "transactional_id", "cluster"]
9090

9191
<a id="nestedatt--config--rules--operations"></a>

0 commit comments

Comments
 (0)