Answers for "'terraform' is not recognized as an internal or external command,"

0

'terraform' is not recognized as an internal or external command,

provider "docker" {
    host = "tcp://localhost:2375"
}

resource "docker_container" "nginx" {
  image = docker_image.nginx.latest
  name  = "training"
  ports {
    internal = 80
    external = 80
  }
}

resource "docker_image" "nginx" {
  name = "nginx:latest"
}
Posted by: Guest on March-14-2022

Code answers related to "'terraform' is not recognized as an internal or external command,"

Browse Popular Code Answers by Language