How can I change a connection resources in k8s wit...
# ask-ai
m
How can I change a connection resources in k8s with terraform provider?
k
I'm sorry, but the knowledge sources do not contain information about changing connection-specific resource requirements (such as CPU or memory) for Airbyte connections via the Terraform provider in a Kubernetes (k8s) environment. The available documentation describes how to configure connection-specific resources by directly updating the Airbyte database with an SQL command, not through Terraform or Kubernetes manifests. For example, you can update the
resource_requirements
for a connection by running an SQL update statement on the Airbyte database, after extracting the connection ID from the Airbyte UI URL:
Copy code
sql update connection set resource_requirements = '{"cpu_limit": "2", "cpu_request": "2", "memory_limit": "2048Mi", "memory_request": "2048Mi"}' where id = '<connection-id>';
[Configuring Connection-Specific Requirements](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements) There is no mention in the knowledge sources of a way to set these resource requirements for a connection using the Airbyte Terraform provider. If you need to manage these settings declaratively, you may need to use a combination of Terraform for general Airbyte resource management and direct database updates (or potentially API calls, if supported in the future) for resource requirements.