I am having trouble finishing the first Terraform Challenge. Currently, I have finished 3 out of 4 tasks. Only the ‘kubernetes provider’ task is giving me somehow an incomplete status.
Hi Jimmy, I am very beginner in terraform and try to solve challenge. Actually I got the provider.tf file syntax from your post but not able to complete onward tasks in challenge one. Can you help me out?
Hi
On terrafom challege 1
for frontend deployment,
I created main.tf (then renamed to frontend.tf) and also added resource code inside provider.tf
, but nothing seems to be recognising, what is the solution here.
I have the issue with frontend. I have green 3 others squares but frontend square is red and none of the requirements are green. Below my frontend.tf file content:
I have some trouble with this challenge. I’m trying to apply al the code with the command terrafom apply, but I receive this message:
kubernetes_deployment.frontend: Creating…
╷
│ Error: Failed to create deployment: Post “http://localhost/apis/apps/v1/namespaces/default/deployments”: dial tcp 127.0.0.1:80: connect: connection refused
│
│ with kubernetes_deployment.frontend,
│ on frontend.tf line 1, in resource “kubernetes_deployment” “frontend”:
│ 1: resource “kubernetes_deployment” “frontend” {
│
╵
Any idea about what could be the issue?
Whay I could do to solved it?