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

Support passingtfvars files for terraform based provisioner workspaces #1590

Closed as not planned
Labels
apiArea: HTTP API
@Emyrk

Description

@Emyrk

What is your suggestion?

Terraform supports using atfvars. It would be nice if you could do acoder workspaces create --tfvars=my.tfvars.

Currently we are aiming to support yaml/json files to answer all prompts (#1377,#1541).

Supporting tfvars gets a bit complicated. For one, ideally we do not interpret/parse the tfvars, and pass it "as is" to terraform apply/plan. One solution is to support passing a newParameterDestination typefile, which lets writing files to the directory where terraform is run. This could possibly be a security issue though, as now users can not only set all parameters, but are writing arbitrary files to the provisionerd node :(.

Options:

  • Parse the tfvars first and do some sanity checks before uploading the file. This would require us to understand the file extension type, rather than a generic "file upload param".

Why do you want this feature?

terraform apply andcoder workspace create become "synonymous" for sake of testing.

Are there any workarounds to get this functionality today?

Yes, useyaml orjson files instead.

Are you interested in submitting a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp