Skip to content

fix(catalog): TF resource for associating an API with a Gateway#4973

Open
cloudjumpercat wants to merge 1 commit intomainfrom
fix/api-implementation-tf
Open

fix(catalog): TF resource for associating an API with a Gateway#4973
cloudjumpercat wants to merge 1 commit intomainfrom
fix/api-implementation-tf

Conversation

@cloudjumpercat
Copy link
Copy Markdown
Contributor

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

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 22, 2026 20:07
@cloudjumpercat cloudjumpercat requested a review from a team as a code owner April 22, 2026 20:07
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 2f56d22
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/69e92a675d90e100087497f7
😎 Deploy Preview https://deploy-preview-4973--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_implementation reference link to the Terraform Registry docs.
  • Updates the Terraform example to use service_reference (instead of service) for associating a Service to an API.

Comment thread app/catalog/apis.md
service = {
control_plane_id = "9f5061ce-78f6-4452-9108-ad7c02821fd5"
id = "7710d5c4-d902-410b-992f-18b814155b53"
}
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
}
}
}

Copilot uses AI. Check for mistakes.
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.

2 participants