https://prefect.io logo
Title
m

MT

04/07/2023, 10:05 PM
Hi, Is there any way to deploy Prefect agent on AWS EKS with Terraform but not using Helm ?
j

jawnsy

04/07/2023, 10:34 PM
You can always use the Kubernetes provider to deploy all the manifests manually, but then you’re just doing Helm yourself. What are you trying to achieve?
m

MT

04/07/2023, 11:29 PM
I am using this module but so far getting i/o timeout errors for
resource "kubernetes_secret" "prefect_api_key"
and
resource "helm_release" "prefect_agent"
and here. I thought of not having helm to run cluster first. Terraform v18. My cluster public_enpoint_access = false. All networking settings are fully configured.I use Terraform Cloud for “terraform apply”. AWS and Prefect keys are also set as variables in the Terraform Cloud.
j

jawnsy

04/08/2023, 6:34 PM
If you’re getting I/O timeout issues, then there’s a connectivity issue between the Terraform Kubernetes provider and the control plane, either because the setting is incorrect (I’m not sure what endpoint the module returns for private clusters, and we have not tested that). You can install with Helm manually as well using the
helm
CLI command. These documents may help: • https://helm.sh/docs/intro/install/https://helm.sh/docs/intro/using_helm/https://github.com/PrefectHQ/prefect-helm/blob/main/README.md