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

bug: example kubernetes-devcontainer template duplicates environment variable definitions for envbuilder #18137

Closed
Assignees
ericpaulsen
Labels
good first issueEasily solved issues suitable for starters and community contributorss3Bugs that confuse, annoy, or are purely cosmetic
@sharkymark

Description

@sharkymark

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Filing in coder/coder since it is an example template, versus filing in coder/envbuilder.

Warning messages appear in the Terraform build logs

Upon inspection of the template, the following variables are defined both in the envbuilder provider and as local:

git_url
cache_repo
insecure

Removing the entries from the local, eliminated the warnings. If tried to put git_url and cache_repo as locals, the build failed saying both are required in the provider.

Relevant Log Output

Warning: Overriding provider environment variableon main.tf line 210,in resource"envbuilder_cached_image""cached":  210:   extra_env     = local.envbuilder_envThe key"ENVBUILDER_INSECURE"in extra_env overrides an optionset on the provider.Warning: Cannot override required environment variableon main.tf line 210,in resource"envbuilder_cached_image""cached":  210:   extra_env     = local.envbuilder_envThe key"ENVBUILDER_GIT_URL"in extra_env cannot be overridden.Warning: Cannot override required environment variableon main.tf line 210,in resource"envbuilder_cached_image""cached":  210:   extra_env     = local.envbuilder_envThe key"ENVBUILDER_CACHE_REPO"in extra_env cannot be overridden.

Expected Behavior

No warnings about the envbuilder provider

Steps to Reproduce

  1. Use the example kubernetes-devcontainer template in Coder
  2. Populate required variables and coder_parameters and create a workspace
  3. See Terraform build log warnings

Environment

  • Host OS: Sequoia 15.5
  • Coder version: 2.22.1

Additional Context

No response

Metadata

Metadata

Assignees

Labels

good first issueEasily solved issues suitable for starters and community contributorss3Bugs that confuse, annoy, or are purely cosmetic

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp