mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-20 22:59:42 -05:00
10 lines
184 B
Terraform
10 lines
184 B
Terraform
|
|
resource "docker_config" "foo_config" {
|
||
|
|
name = "foo_config"
|
||
|
|
data = base64encode(
|
||
|
|
templatefile("${path.cwd}/foo.config.json.tpl",
|
||
|
|
{
|
||
|
|
port = 8080
|
||
|
|
}
|
||
|
|
)
|
||
|
|
)
|
||
|
|
}
|