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

"Archive too big" when uploading workspace template due to.terraform folders being included #3938

Closed
@kconley-sq

Description

@kconley-sq

Trying to upload a new version of a Coder workspace template usingcoder templates push -d /path/to/template/folder/ template-name (using versionv0.8.4 of the Coder CLI tool) fails with the error:

Archive too big. Must be <= 1048576 bytes

The.tf files in our workspace template folder aren't very large, though:

# `.` here is our workspace template directory❯ find. f -name'*.tf' -exec du -ch {} +| grep total$ 88K    total

I think the issue may be that the.terraform folders that are generated when we runterraform init (towards being able to runterraform validate) are being considered by the Coder CLI tool when constructing the template archive:

# `.` here is our workspace template directory❯ du -h....347M    .terraform302M    a_local_module/.terraform

I saw that hidden files are skipped by the Coder CLI tool when it creates the template archive - could hidden folders (or at least.terraform) be skipped as well?

ifstrings.HasPrefix(rel,".") {
// Don't archive hidden files!
returnerr
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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