Jun 21, 2021
Don't use the "=" sign after mounts and ports. Use as below:
mounts {
type = "volume"
target = "/var/lib/mysql"
source = "db_data"
}
ports {
internal = "80"
external = "${var.wordpress_port}"
}
Don't use the "=" sign after mounts and ports. Use as below:
mounts {
type = "volume"
target = "/var/lib/mysql"
source = "db_data"
}
ports {
internal = "80"
external = "${var.wordpress_port}"
}
AWS & DevOps Architect | Linux, Docker, Kubernetes, Terraform, Jenkins, Git&GitHub, Ansible expert