Use this action to publish a terraform provider to a terraform cloud private registry:rocket:
This action was designed to be used in conjuction with the example terraform code for
An example use of the action:
-
name: Publish provider
uses: step-security/terraform-cloud-provider-publish@v1
with:
organization-name: terraform-organization
organization-api-token: ${{ secrets.TF_CLOUD_TOKEN }}
provider-directory: dist
gpg-key: ${{ secrets.GPG_PUBLIC_KEY }}
The name of the organization in terraform cloud
Terraform cloud API Token with permission to publish providers to the organization
The directory that contains all of the files neccessary to publish a provider. This is based on the recommended go releaser file from terraform
The public key used to sign the files in the provider-directory in ascii armor format
