Hi,
I am new to terraform and we are working on to setup tomcat or Nginix server in Google Cloud Platform using terraform scripts. But unfortunately we are not getting any help from terraform documentation or in any blogs.
Below is the terraform script which we are using now but it is not working.
provider “docker” {
host = “tcp://docker:2345/”
}
resource “docker_image” “nginx” {
name = “nginx:1.11-alpine”
}
resource “docker_container” “nginx” {
image = docker_image.nginx.latest
name = “tutorial”
ports {
internal = 80
external = 8000
}
}
It would help if someone has provide some hints.