Skip to content

Commit 3356f9f

Browse files
committed
ensure that arguments passed in via extra_env are acknowledged
1 parent 156ca0e commit 3356f9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/provider/provider_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ func (d *testDependencies) Config(t testing.TB) string {
4949
resource "envbuilder_cached_image" "test" {
5050
builder_image = {{ quote .BuilderImage }}
5151
cache_repo = {{ quote .CacheRepo }}
52+
git_url = {{ quote .Repo.URL }}
5253
extra_env = {
54+
"ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH": {{ quote .Repo.Key }}
55+
"ENVBUILDER_VERBOSE": true
5356
{{ range $k, $v := .ExtraEnv }}
5457
{{ quote $k }}: {{ quote $v }}
5558
{{ end }}
5659
}
57-
git_url = {{ quote .Repo.URL }}
58-
git_ssh_private_key_path = {{ quote .Repo.Key }}
59-
verbose = true
6060
}`
6161

6262
fm := template.FuncMap{"quote": quote}

0 commit comments

Comments
 (0)