You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running terragrunt run-all apply, I encountered the following error during the execution of the helm_release resource:
* Failed to execute "terraform apply -auto-approve -input=false" in ./ACCOUNT_ID/us-east-1/demo/k8s-addons/.terragrunt-cache/u9zxPMQmf1jb0d26KapozttTaiw/PK_OxUbkN5ko3bd2Qj4q70bVcaM/k8s-addons
╷
│ Error: 1 error occurred:
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│
│ with helm_release.external_secrets[0],
│ on eks-external-secrets.tf line 143, in resource "helm_release" "external_secrets":
│ 143: resource "helm_release" "external_secrets" {
│
╵
After running terragrunt run-all apply a second time, the error no longer occurred, and Terragrunt replaced the AWS Load Balancer Controller.
Steps to Reproduce
Run terragrunt run-all apply to provision resources, including the AWS Load Balancer Controller.
Observe the failure due to missing endpoints for aws-load-balancer-controller-webhook-service.
Run terragrunt run-all apply again, and note that the error does not occur in subsequent runs.