docs: fix typos in docker_image example usage (#213)

This commit is contained in:
Alex Kunin 2021-06-01 16:05:29 +03:00 committed by GitHub
parent 142144ac38
commit a0d51e2a09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,16 +21,16 @@ for further updates of the image
### Dynamic updates
To be able to update an update dynamically when the `sha256` sum changes,
To be able to update an image dynamically when the `sha256` sum changes,
you need to use it in combination with `docker_registry_image` as follows:
{{tffile "examples/resources/docker_image/resource-dynamic.tf"}}
### Build
You can also use the resource to build and image.
You can also use the resource to build an image.
In thid case the image "zoo" and "zoo:develop" are built.
{{tffile "examples/resources/docker_image/resource-build.tf"}}
{{ .SchemaMarkdown | trimspace }}
{{ .SchemaMarkdown | trimspace }}