From 4353242023d1aefecf15df87e3023f1513da27d3 Mon Sep 17 00:00:00 2001 From: Chris Griggs Date: Mon, 15 Aug 2022 10:15:33 -0700 Subject: [PATCH 1/3] [Documentation Update] module -> provider Hi All, Opening this PR to change the index page to call this out as a "provider" and not a "module". Modules are templates of HCL Terraform configuration. Please let me know if you have any questions. Best, Chris --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 63d044d..ef1eec3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,9 +7,9 @@ description: |- # Commvault Terraform Provider -With the Commvault Terraform module, you can use Terraform to manage endpoints (called resources). Terraform is a configuration language for safely and efficiently managing infrastructure. +With the Commvault Terraform provider, you can use Terraform to manage endpoints (called resources). Terraform is a configuration language for safely and efficiently managing infrastructure. -The Commvault Terraform module provides a set of named resource types, and specifies which arguments are allowed for each resource type. Using the resource types, you can create a configuration file, and apply changes to the Commvault REST APIs. For example, you can use the commvault_user resource type to add and delete users in your CommCell environment. You use the GO programming language to execute the APIs. +The Commvault Terraform provider provides a set of named resource types, and specifies which arguments are allowed for each resource type. Using the resource types, you can create a configuration file, and apply changes to the Commvault REST APIs. For example, you can use the commvault_user resource type to add and delete users in your CommCell environment. You use the GO programming language to execute the APIs. ## Syntax ``` From 01dc03ad3e973c0ae60945ea7213e429a6c3dec9 Mon Sep 17 00:00:00 2001 From: cvltmaheshp <66312615+cvltmaheshp@users.noreply.github.com> Date: Wed, 2 Nov 2022 17:00:55 -0400 Subject: [PATCH 2/3] Update release.yml --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64fe45d..8849815 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,11 +32,10 @@ jobs: - name: Import GPG key id: import_gpg - uses: hashicorp/ghaction-import-gpg@v2.1.0 - env: - # These secrets will need to be configured for the repository: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.PASSPHRASE }} + uses: crazy-max/ghaction-import-gpg@v5.0.0 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 From 4bebd07db6b9e520fc35d7fb2ffa1e043b457379 Mon Sep 17 00:00:00 2001 From: cvltmaheshp <66312615+cvltmaheshp@users.noreply.github.com> Date: Wed, 2 Nov 2022 17:10:59 -0400 Subject: [PATCH 3/3] Update release.yml --- .github/workflows/release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8849815..fff014b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,31 +14,34 @@ on: push: tags: - 'v*' +permissions: + contents: write jobs: goreleaser: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.14 + go-version-file: 'go.mod' + cache: true - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@v5 id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5.0.0 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.GPG_PASSPHRASE }} + passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v3.2.0 with: version: latest args: release --rm-dist