sethbacon/Terraform module publish

Publish a Terraform/OpenTofu module version to a self-hosted registry or HCP Terraform / Terraform Enterprise.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
registry-type"private" (self-hosted registry) or "hcp" (HCP Terraform / TFE).yes
namespaceModule namespace / organization.yes
nameModule name.yes
providerModule provider / target system.yes
versionModule version to publish (e.g. 1.2.3).yes
registry-urlBase URL of the private registry (required for registry-type=private).no""
api-keyAPI key for the private registry (Bearer). Required for registry-type=private.no""
skip-tls-verifyDisable TLS verification for the private registry (private-CA endpoints only).nofalse
hcp-addressHCP Terraform / TFE base URL.nohttps://app.terraform.io
hcp-tokenHCP/TFE API token (Bearer). Required for registry-type=hcp.no""
vcs-repo-identifierVCS repo identifier (org/repo) used to create the module if missing.no""
vcs-branchVCS branch for a VCS-connected HCP module.nomain
vcs-oauth-token-idHCP VCS OAuth token ID used to create the module if missing.no""
commit-shaCommit SHA to associate with the new HCP module version.no""
wait-for-publishWait until the version is available/ready in the registry.nofalse
timeout-secondsWait timeout in seconds (when wait-for-publish is true).no180
namedescription
published"true" when a version was published (or sync triggered); "false" if it already existed.
messageHuman-readable status message.