Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6fcc49f

Browse files
authored
fix(examples/templates/nomad-docker): ignoreNOMAD_NAMESPACE andNOMAD_REGION when Coder is running in nomad (#11341)
1 parente9437e2 commit6fcc49f

File tree

1 file changed

+6
-0
lines changed
  • examples/templates/nomad-docker

1 file changed

+6
-0
lines changed

‎examples/templates/nomad-docker/main.tf‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ provider "coder" {}
2727
provider"nomad" {
2828
address=var.nomad_provider_address
2929
http_auth=var.nomad_provider_http_auth==""?null: var.nomad_provider_http_auth
30+
31+
# Fix reading the NOMAD_NAMESPACE and the NOMAD_REGION env var from the coder's allocation.
32+
ignore_env_vars={
33+
"NOMAD_NAMESPACE"=true
34+
"NOMAD_REGION"=true
35+
}
3036
}
3137

3238
data"coder_parameter""cpu" {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp