Skip to content

Add custom types for encoded strings and unit tests#9

Merged
harshadixit12 merged 1 commit intomainfrom
feat/add-encoded-string-custom-types
May 5, 2025
Merged

Add custom types for encoded strings and unit tests#9
harshadixit12 merged 1 commit intomainfrom
feat/add-encoded-string-custom-types

Conversation

@harshadixit12
Copy link
Copy Markdown
Contributor

We are introducing two custom encoded string types - base64 encoded, and optionally base64 encoded.
These expect the value in plan, state to be encoded.

Fixes Kong/terraform-provider-konnect#85
Short document explaining the solution: https://konghq.atlassian.net/wiki/spaces/A/pages/4604264449/Terraform+custom+types

Corresponding PR on platform API: https://github.com/Kong/platform-api/pull/1254

How I have tested this:

  • Run unit tests

@harshadixit12 harshadixit12 force-pushed the feat/add-encoded-string-custom-types branch from dd5c84c to 80ed6cb Compare May 2, 2025 12:08
@harshadixit12 harshadixit12 requested a review from mheap May 2, 2025 12:11
@harshadixit12
Copy link
Copy Markdown
Contributor Author

@mheap I've tested this by copying the customtypes dir to the konnect terraform provider repo.
Not able to test this by importing shared-speakeasy yet though (context)
I'd like to merge this and release before updating the PRs on platform-api and terraform-provider-konnect

@harshadixit12 harshadixit12 merged commit a7a9f0f into main May 5, 2025
3 checks passed
@mheap mheap deleted the feat/add-encoded-string-custom-types branch May 5, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terraform apply related to Portal objects constantly shows changes

2 participants