mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 10:47:34 -05:00
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com> Co-authored-by: James Humphries <James@james-humphries.co.uk>
17 lines
276 B
HCL
17 lines
276 B
HCL
terraform {
|
|
required_providers {
|
|
docker = {
|
|
source = "kreuzwerker/docker"
|
|
version = "3.0.2"
|
|
}
|
|
}
|
|
}
|
|
|
|
resource "docker_container" "webserver" {
|
|
name = "nginx-test"
|
|
image = "nginx"
|
|
ports {
|
|
internal = 80
|
|
external = 8080
|
|
}
|
|
} |