Skip to content

Publish Terraform Cloud Module Action

Actions
Publishes a private module to a Terraform Cloud repository
v1.0.1
Latest
Star (1)

Publish Terraform Cloud Module Action

This action creates a new private module in Terraform Cloud with a VCS connection to the current repository, if one does not already exist.

Usage

  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: takescoop/publish-terraform-cloud-module-action@v1
        with:
          tf-organization: takescoop
          tf-token: "${{ secrets.TF_TOKEN }}"

Action inputs

Name Description Default
tf-organization (Required) The Terraform Cloud organization name
tf-token (Required) A Terraform Cloud API token
repo The repository to publish. Format: owner/name ${{github.repository}}
display-identifier The display identifier for the repository ${{github.repository}}
tf-host The Terraform Cloud hostname app.terraform.io
vcs-token-id Token ID of the Terraform Cloud VCS client used in the VCS connection (overrides vcs-name)
vcs-name Name of the Terraform Cloud VCS client for the repository (not used if vcs-token-id is passed) GitHub.com

Releasing

npm version (major|minor|patch) && git push --follow-tags

Publish Terraform Cloud Module Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publishes a private module to a Terraform Cloud repository
v1.0.1
Latest

Publish Terraform Cloud Module Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.