fix(catalog): TF resource for associating an API with a Gateway#4973
Open
cloudjumpercat wants to merge 1 commit intomainfrom
Open
fix(catalog): TF resource for associating an API with a Gateway#4973cloudjumpercat wants to merge 1 commit intomainfrom
cloudjumpercat wants to merge 1 commit intomainfrom
Conversation
Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the API Catalog reference docs to reflect the correct Terraform provider resource documentation and configuration for linking an API to a Gateway Service.
Changes:
- Switches the
konnect_api_implementationreference link to the Terraform Registry docs. - Updates the Terraform example to use
service_reference(instead ofservice) for associating a Service to an API.
| service = { | ||
| control_plane_id = "9f5061ce-78f6-4452-9108-ad7c02821fd5" | ||
| id = "7710d5c4-d902-410b-992f-18b814155b53" | ||
| } |
There was a problem hiding this comment.
The echo '... snippet is missing closing braces (for service_reference and the resource) and the closing single quote before >> main.tf, so the generated main.tf will be invalid HCL; add the missing } lines and the terminating ' so the echoed block is syntactically complete.
Suggested change
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes https://kongstrong.slack.com/archives/CDSTDSG9J/p1776785786087729
Preview Links
/catalog/apis/?tab=terraform#allow-developers-to-consume-your-api
To test this, you'll need the pat, auth.tf, and the init command in this prereq.
Apply the TF resource (with your UUID values), then run
terraform apply -auto-approve.Checklist
descriptionentry in frontmatter.