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
I had successfully converted YAML to.tf while I am trying to deploy it I am getting the following error could you please help me to resolve the eeror
The text was updated successfully, but these errors were encountered:
Could you post those .yaml and .tf files?
.yaml
.tf
Tip: copypasting text instead of images makes everything better.
Sorry, something went wrong.
https://github.com/Kurento/Kubernetes/blob/master/nginx-deployment-service.yaml nginx-deployment-service.yaml anfd the terraform converted file is
resource "kubernetes_deployment" "nginx" { metadata { name = "nginx" } spec { replicas = 3 selector { match_labels = { app = "nginx" } } template { metadata { labels = { app = "nginx" } } spec { container { name = "nginx" image = "nginx" port { container_port = 80 } } } } strategy { type = "Recreate" } } } resource "kubernetes_service" "nginx" { metadata { name = "nginx" namespace = "default" labels = { app = "nginx" } annotations = { "service.beta.kubernetes.io/aws-load-balancer-type" = "nlb" } } spec { port { name = "http" protocol = "TCP" port = 80 target_port = "80" } selector = { app = "nginx" } type = "LoadBalancer" external_traffic_policy = "Local" } }
No branches or pull requests
I had successfully converted YAML to.tf while I am trying to deploy it I am getting the following error could you please help me to resolve the eeror
The text was updated successfully, but these errors were encountered: