From b05ca5a39c65f37073697d30c93842c934e13a8c Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Sun, 28 Jun 2015 19:14:00 -0700 Subject: [PATCH] The docker-image resource expects name, not image to be set [ci skip] --- .../source/docs/providers/docker/r/container.html.markdown | 2 +- website/source/docs/providers/docker/r/image.html.markdown | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/providers/docker/r/container.html.markdown b/website/source/docs/providers/docker/r/container.html.markdown index 8da348ec2c..5653f139ad 100644 --- a/website/source/docs/providers/docker/r/container.html.markdown +++ b/website/source/docs/providers/docker/r/container.html.markdown @@ -21,7 +21,7 @@ resource "docker_container" "ubuntu" { # Find the latest Ubuntu precise image. resource "docker_image" "ubuntu" { - image = "ubuntu:precise" + name = "ubuntu:precise" } ``` diff --git a/website/source/docs/providers/docker/r/image.html.markdown b/website/source/docs/providers/docker/r/image.html.markdown index 7a79ad083f..f859ef1a96 100644 --- a/website/source/docs/providers/docker/r/image.html.markdown +++ b/website/source/docs/providers/docker/r/image.html.markdown @@ -18,7 +18,7 @@ them. ``` # Find the latest Ubuntu precise image. resource "docker_image" "ubuntu" { - image = "ubuntu:precise" + name = "ubuntu:precise" } # Access it somewhere else with ${docker_image.ubuntu.latest} @@ -28,7 +28,7 @@ resource "docker_image" "ubuntu" { The following arguments are supported: -* `image` - (Required) The name of the Docker image, including any tags. +* `name` - (Required) The name of the Docker image, including any tags. * `keep_updated` - (Optional) If true, then the Docker image will always be updated on the host to the latest. If this is false, as long as an image is downloaded with the correct tag, it won't be redownloaded if