-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find kustomization.yaml file #159
Comments
According to your code snippet it should probably be |
@pst Sorry, that's a mistake in my hand-crafted dir listing! I'll edit that now. |
I see, that was the only thing that came to mind after reading the issue. If it's not that, you can try and run the tests in your (I'm assuming) Windows/WSL environment and see if they fail. There's some code in the provider to fake a path for the |
I'm running the |
If the output is very verbose, it may be easier to put it in a Gist and just link that here. |
Gist of test output https://gist.github.com/msnelling/7841d8af55957298942f66103e3d0b0b |
The root cause is probably this: https://gist.github.com/msnelling/7841d8af55957298942f66103e3d0b0b#file-output-log-L43-L58 Not sure why though. I have a busy launch coming up. So I won't be able to jump on this. If you want to take a stab at it, I can review PRs after Monday (assuming all goes well). Just trying to play with open cards here. |
I'm not a go developer I'm afraid (more C++ and C#). |
To add a bit more info, I ran the following and the tests failed
So it seems it doesn't handle symlinks well, it's probably not a WSL specific issue. |
I've hit this same error message after removing the EDIT: I should add that I'm using remote Terraform state. I'm using the data resource to modify a set of remote manifests - there was never a data "kustomization_overlay" "argocd" {
resources = [
"https://raw.githubusercontent.com/argoproj/argo-cd/v${local.argocd_version}/manifests/install.yaml"
]
namespace = local.argocd_namespace
patches {
target {
kind = "ConfigMap"
name = "argocd-cmd-params-cm"
}
patch = <<-EOF
kind: ConfigMap
metadata:
name: argocd-cmd-params-cm
data:
server.insecure: "true"
EOF
}
}
If I add a blank
|
This is actually what's causing my issue as well. The full path to this terraform project on my local filesystem is:
But I've shortened it as follows, using a symlink:
And so: # This works
cd /home/flyte/dev/mycompany/clients/myclient/theirclient/infra/terraform-30-infra/prod
terraform plan
# This does not work
cd /home/flyte/dev/theirclient/infra/terraform-30-infra/prod
terraform plan
I'm on Ubuntu 20.04 |
It's probably an issue with this code or the upstream code it relies on. If somebody wants to take a stab at sending a PR to fix this. |
I have the following error
I am trying to deploy the Kafka schema registry using terraform. My codebase has the following layout
My kafka module
main.tf
has the following
kustomization_overlay
The text was updated successfully, but these errors were encountered: