Skip to content

Commit 4111e5d

Browse files
harshadixit12mheap
andauthored
Release/3.3.0 (#290)
* Control plane data source (#288) * Update Speakeasy version to 1.636.2 * Regenerate provider * Add pagination to openapi.yaml * Regenerate provider * Add CHANGELOG * Fix/panic in singleton datasource control plane (#289) * OpenAPI changes * Generated provider * tests: update custom domain to avoid clash * Update CHANGELOG.md * chore: prep for releasing v3.3.0 --------- Co-authored-by: Michael Heap <m@michaelheap.com>
1 parent aa96e52 commit 4111e5d

1,432 files changed

Lines changed: 42820 additions & 35744 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/.speakeasy/temp/
24
**/.speakeasy/logs/
35
tests/e2e/local-plugins

.speakeasy/gen.lock

Lines changed: 233 additions & 17 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,4 +1,4 @@
1-
speakeasyVersion: 1.602.0
1+
speakeasyVersion: 1.636.2
22
sources:
33
kong:
44
sourceNamespace: kong
@@ -15,7 +15,7 @@ targets:
1515
sourceBlobDigest: sha256:fe7d9348a81627bd7708751e55cd5c4ef15b7c2b748c058ce7dd03298e8a92fa
1616
workflow:
1717
workflowVersion: 1.0.0
18-
speakeasyVersion: 1.602.0
18+
speakeasyVersion: 1.636.2
1919
sources:
2020
kong:
2121
inputs:

.speakeasy/workflow.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: 1.602.0
2+
speakeasyVersion: 1.636.2
33
sources:
4-
kong:
5-
inputs:
6-
- location: openapi.yaml
7-
registry:
8-
location: registry.speakeasyapi.dev/kong/kong/kong
4+
kong:
5+
inputs:
6+
- location: openapi.yaml
7+
registry:
8+
location: registry.speakeasyapi.dev/kong/kong/kong
99
targets:
10-
terraform:
11-
target: terraform
12-
source: kong
10+
terraform:
11+
target: terraform
12+
source: kong

CHANGELOG.md

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

3+
## 3.3.0
4+
> Released on 2025/10/14
5+
6+
### Features
7+
* Added `konnect_gateway_control_plane_list` data source
8+
39
## 3.2.1
410
> Released on 2025/10/09
511

docs/data-sources/cloud_gateway_provider_account_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CloudGatewayProviderAccountList DataSource
1515
```terraform
1616
data "konnect_cloud_gateway_provider_account_list" "my_cloudgatewayprovideraccountlist" {
1717
page_number = 1
18-
page_size = 10
18+
page_size = 100
1919
}
2020
```
2121

docs/data-sources/gateway_control_plane.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ data "konnect_gateway_control_plane" "my_gatewaycontrolplane" {
3131
}
3232
}
3333
filter_labels = "key:value,existCheck"
34-
page_number = 1
35-
page_size = 10
3634
sort = "created_at desc"
3735
}
3836
```
@@ -44,8 +42,6 @@ data "konnect_gateway_control_plane" "my_gatewaycontrolplane" {
4442

4543
- `filter` (Attributes) Filters a collection of control-planes. (see [below for nested schema](#nestedatt--filter))
4644
- `filter_labels` (String) Filter control planes in the response by associated labels.
47-
- `page_number` (Number) Determines which page of the entities to retrieve.
48-
- `page_size` (Number) The maximum number of items to include per page. The last page of a collection may include fewer items.
4945
- `sort` (String) Sorts a collection of control-planes. Supported sort attributes are:
5046
- created_at
5147

@@ -58,9 +54,6 @@ data "konnect_gateway_control_plane" "my_gatewaycontrolplane" {
5854

5955
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
6056
- `name` (String) The name of the control plane.
61-
- `number` (Number)
62-
- `size` (Number)
63-
- `total` (Number)
6457

6558
<a id="nestedatt--filter"></a>
6659
### Nested Schema for `filter`
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "konnect_gateway_control_plane_list Data Source - terraform-provider-konnect"
4+
subcategory: ""
5+
description: |-
6+
GatewayControlPlaneList DataSource
7+
---
8+
9+
# konnect_gateway_control_plane_list (Data Source)
10+
11+
GatewayControlPlaneList DataSource
12+
13+
## Example Usage
14+
15+
```terraform
16+
data "konnect_gateway_control_plane_list" "my_gatewaycontrolplanelist" {
17+
filter = {
18+
cloud_gateway = true
19+
cluster_type = {
20+
eq = "...my_eq..."
21+
neq = "...my_neq..."
22+
}
23+
id = {
24+
eq = "...my_eq..."
25+
oeq = "...my_oeq..."
26+
}
27+
name = {
28+
contains = "...my_contains..."
29+
eq = "...my_eq..."
30+
neq = "...my_neq..."
31+
}
32+
}
33+
filter_labels = "key:value,existCheck"
34+
sort = "created_at desc"
35+
}
36+
```
37+
38+
<!-- schema generated by tfplugindocs -->
39+
## Schema
40+
41+
### Optional
42+
43+
- `filter` (Attributes) Filters a collection of control-planes. (see [below for nested schema](#nestedatt--filter))
44+
- `filter_labels` (String) Filter control planes in the response by associated labels.
45+
- `sort` (String) Sorts a collection of control-planes. Supported sort attributes are:
46+
- created_at
47+
48+
### Read-Only
49+
50+
- `data` (Attributes List) (see [below for nested schema](#nestedatt--data))
51+
52+
<a id="nestedatt--filter"></a>
53+
### Nested Schema for `filter`
54+
55+
Optional:
56+
57+
- `cloud_gateway` (Boolean) Filter by a boolean value (true/false).
58+
- `cluster_type` (Attributes) Filters on the given string field value by exact match inequality. (see [below for nested schema](#nestedatt--filter--cluster_type))
59+
- `id` (Attributes) Returns entities that exact match any of the comma-delimited phrases in the filter string. (see [below for nested schema](#nestedatt--filter--id))
60+
- `name` (Attributes) Filters on the given string field value by exact match inequality. (see [below for nested schema](#nestedatt--filter--name))
61+
62+
<a id="nestedatt--filter--cluster_type"></a>
63+
### Nested Schema for `filter.cluster_type`
64+
65+
Optional:
66+
67+
- `eq` (String)
68+
- `neq` (String)
69+
70+
71+
<a id="nestedatt--filter--id"></a>
72+
### Nested Schema for `filter.id`
73+
74+
Optional:
75+
76+
- `eq` (String)
77+
- `oeq` (String)
78+
79+
80+
<a id="nestedatt--filter--name"></a>
81+
### Nested Schema for `filter.name`
82+
83+
Optional:
84+
85+
- `contains` (String)
86+
- `eq` (String)
87+
- `neq` (String)
88+
89+
90+
91+
<a id="nestedatt--data"></a>
92+
### Nested Schema for `data`
93+
94+
Read-Only:
95+
96+
- `config` (Attributes) CP configuration object for related access endpoints. (see [below for nested schema](#nestedatt--data--config))
97+
- `description` (String) The description of the control plane in Konnect.
98+
- `id` (String) The control plane ID.
99+
- `labels` (Map of String) Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
100+
101+
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
102+
- `name` (String) The name of the control plane.
103+
104+
<a id="nestedatt--data--config"></a>
105+
### Nested Schema for `data.config`
106+
107+
Read-Only:
108+
109+
- `auth_type` (String) The auth type value of the cluster associated with the Runtime Group.
110+
- `cloud_gateway` (Boolean) Whether the Control Plane can be used for cloud-gateways.
111+
- `cluster_type` (String) The ClusterType value of the cluster associated with the Control Plane.
112+
- `control_plane_endpoint` (String) Control Plane Endpoint.
113+
- `proxy_urls` (Attributes Set) Array of proxy URLs associated with reaching the data-planes connected to a control-plane. (see [below for nested schema](#nestedatt--data--config--proxy_urls))
114+
- `telemetry_endpoint` (String) Telemetry Endpoint.
115+
116+
<a id="nestedatt--data--config--proxy_urls"></a>
117+
### Nested Schema for `data.config.proxy_urls`
118+
119+
Read-Only:
120+
121+
- `host` (String) Hostname of the proxy URL.
122+
- `port` (Number) Port of the proxy URL.
123+
- `protocol` (String) Protocol of the proxy URL.

docs/data-sources/mesh_control_planes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MeshControlPlanes DataSource
1515
```terraform
1616
data "konnect_mesh_control_planes" "my_meshcontrolplanes" {
1717
page_number = 1
18-
page_size = 10
18+
page_size = 100
1919
}
2020
```
2121

docs/data-sources/portal.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ data "konnect_portal" "my_portal" {
7373
rbac_enabled = true
7474
}
7575
page_number = 1
76-
page_size = 10
76+
page_size = 100
7777
sort = "...my_sort..."
7878
}
7979
```
@@ -116,10 +116,7 @@ data "konnect_portal" "my_portal" {
116116

117117
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
118118
- `name` (String) The name of the portal, used to distinguish it from other portals. Name must be unique.
119-
- `number` (Number)
120119
- `rbac_enabled` (Boolean) Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC.
121-
- `size` (Number)
122-
- `total` (Number)
123120
- `updated_at` (String) An ISO-8601 timestamp representation of entity update date.
124121

125122
<a id="nestedatt--filter"></a>

0 commit comments

Comments
 (0)