Skip to content

feat(har): add push artifact:terraform command - #204

Merged
sawka-harness merged 3 commits into
harness:mainfrom
sameeksha-harness:feat/push-artifact-terraform
Sep 10, 2026
Merged

feat(har): add push artifact:terraform command#204
sawka-harness merged 3 commits into
harness:mainfrom
sameeksha-harness:feat/push-artifact-terraform

Conversation

@sameeksha-harness

Copy link
Copy Markdown
Contributor

Implements harness push artifact:terraform, which existed in hc but had no equivalent in the new CLI.

Three input shapes supported:

  • Module directory → packaged into .tar.gz and uploaded
  • Module archive (.tar.gz / .tgz) → uploaded directly
  • Provider binary (.zip) → coordinates parsed from filename per the Provider Network Mirror Protocol convention (terraform-provider-{type}_{version}_{os}_{arch}.zip)

Flags: --namespace (required), --name, --provider, --version (required for modules). Glob patterns supported for file inputs (e.g. ./releases/*.tar.gz).

@BlueLabelscotch

BlueLabelscotch commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

@sameeksha-harness , have you tested both the commands for parity with the hc?

@sawka-harness
sawka-harness merged commit c3a160a into harness:main Sep 10, 2026
1 check passed
@sameeksha-harness

Copy link
Copy Markdown
Contributor Author

@sameeksha-harness , have you tested both the commands for parity with the hc?

yes validated both for parity with hc cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants