Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions app/catalog/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,16 @@ body:
<!--vale on-->
{% endnavtab %}
{% navtab "Terraform" %}
Use the [`konnect_api_implementation` resource](https://github.com/Kong/terraform-provider-konnect/blob/main/examples/resources/konnect_api_implementation.tf):
Use the [`konnect_api_implementation` resource](https://registry.terraform.io/providers/Kong/konnect/latest/docs/resources/api_implementation):
```hcl
echo '
resource "konnect_api_implementation" "my_apiimplementation" {
api_id = "9f5061ce-78f6-4452-9108-ad7c02821fd5"
service = {
control_plane_id = "9f5061ce-78f6-4452-9108-ad7c02821fd5"
id = "7710d5c4-d902-410b-992f-18b814155b53"
}
service_reference = {
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.
}
' >> main.tf
```
Expand Down
Loading