We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following code throw an error
provider "kubectl" {} provider "kubernetes" { config_path = "~/.kube/config" } resource "kubernetes_namespace" "test" { metadata { name = "terraform-test" labels = { "test" = formatdate("YYYYMMDDhhmmss", timestamp()) } } } resource "kubectl_manifest" "secret" { yaml_body = <<-EOT apiVersion: v1 kind: Secret metadata: name: test-secret stringData: var: "${kubernetes_namespace.test.metadata.0.resource_version}" EOT override_namespace = kubernetes_namespace.test.metadata.0.name }
Fix from #46 has been partial Error happens on third rerun
The text was updated successfully, but these errors were encountered:
So, interestingly enough this:
provider "kubernetes" { config_path = "~/.kube/config" } resource "kubernetes_namespace" "test" { metadata { name = "terraform-test" labels = { "test" = formatdate("YYYYMMDDhhmmss", timestamp()) } } } resource "kubernetes_config_map" "xxx" { metadata { name = "xx" } data = { var = <<EOF ${kubernetes_namespace.test.metadata.0.resource_version} EOF } }
also fails with the same error. Makes me wonder if it's an edge case and if it should be treated or not.
Sorry, something went wrong.
alekc
No branches or pull requests
Following code throw an error
Fix from #46 has been partial
Error happens on third rerun
The text was updated successfully, but these errors were encountered: