Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc for build_arg field being renamed to build_args for docker_image resource #558

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/resources/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ In this case the image "zoo" and "zoo:develop" are built.
resource "docker_image" "zoo" {
name = "zoo"
build {
context = "."
tag = ["zoo:develop"]
build_arg = {
context = "."
tag = ["zoo:develop"]
build_args = {
foo : "zoo"
}
label = {
label = {
author : "zoo"
}
}
Expand Down Expand Up @@ -108,8 +108,7 @@ Required:
Optional:

- `auth_config` (Block List) The configuration for the authentication (see [below for nested schema](#nestedblock--build--auth_config))
- `build_arg` (Map of String) Set build-time variables
- `build_args` (Map of String) Pairs for build-time variables in the form TODO
- `build_args` (Map of String) Pairs for build-time variables in the form `ENDPOINT : "https://example.com"`
- `build_id` (String) BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
- `cache_from` (List of String) Images to consider as cache sources
- `cgroup_parent` (String) Optional parent cgroup for the container
Expand Down