diff --git a/.github/workflows/go-dep-submission.yml b/.github/workflows/go-dep-submission.yml index be7d5343..3d37152b 100644 --- a/.github/workflows/go-dep-submission.yml +++ b/.github/workflows/go-dep-submission.yml @@ -25,7 +25,7 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8e3cb16f..1ae6b663 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -31,7 +31,7 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true diff --git a/.github/workflows/govulncheck.yml b/.github/workflows/govulncheck.yml index 2bfb98e8..3a3db5f8 100644 --- a/.github/workflows/govulncheck.yml +++ b/.github/workflows/govulncheck.yml @@ -26,7 +26,7 @@ jobs: egress-policy: audit - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true diff --git a/.github/workflows/pr-dep-review.yml b/.github/workflows/pr-dep-review.yml index 58ed7bf3..92cdf608 100644 --- a/.github/workflows/pr-dep-review.yml +++ b/.github/workflows/pr-dep-review.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Dependency Review - uses: actions/dependency-review-action@7bbfa034e752445ea40215fff1c3bf9597993d3f # v3.1.3 + uses: actions/dependency-review-action@01bc87099ba56df1e897b6874784491ea6309bc4 # v3.1.4 with: fail-on-severity: low license-check: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aaf491ff..dc8df445 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 5bf73515..a68c2ab1 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -73,6 +73,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: Upload to code-scanning - uses: github/codeql-action/upload-sarif@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8 + uses: github/codeql-action/upload-sarif@c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2 # v2.22.9 with: sarif_file: results.sarif diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9dcdfe7..77c68f4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true @@ -64,7 +64,7 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true @@ -107,7 +107,7 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: '>= 1.21' cache: true diff --git a/.licenses.cache.json b/.licenses.cache.json index db07bec7..27b4937b 100644 --- a/.licenses.cache.json +++ b/.licenses.cache.json @@ -34,6 +34,9 @@ "ID": "github.com/Masterminds/semver/v3@v3.2.0", "Name": "github.com/Masterminds/semver/v3", "Version": "3.2.0", + "Licenses": [ + "MIT" + ], "Indirect": true, "Layer": {} }, @@ -46,15 +49,15 @@ ], "Indirect": true, "DependsOn": [ - "github.com/google/uuid@v1.1.1", "github.com/imdario/mergo@v0.3.11", - "github.com/spf13/cast@v1.3.1", + "github.com/mitchellh/copystructure@v1.0.0", + "golang.org/x/crypto@v0.3.0", "github.com/Masterminds/goutils@v1.1.1", "github.com/Masterminds/semver/v3@v3.2.0", "github.com/huandu/xstrings@v1.3.3", - "github.com/mitchellh/copystructure@v1.0.0", + "github.com/google/uuid@v1.1.1", "github.com/shopspring/decimal@v1.2.0", - "golang.org/x/crypto@v0.3.0" + "github.com/spf13/cast@v1.3.1" ], "Layer": {} }, @@ -71,6 +74,9 @@ "ID": "github.com/google/uuid@v1.1.1", "Name": "github.com/google/uuid", "Version": "1.1.1", + "Licenses": [ + "BSD-3-Clause" + ], "Indirect": true, "Layer": {} }, @@ -78,6 +84,9 @@ "ID": "github.com/huandu/xstrings@v1.3.3", "Name": "github.com/huandu/xstrings", "Version": "1.3.3", + "Licenses": [ + "MIT" + ], "Indirect": true, "Layer": {} }, @@ -85,6 +94,9 @@ "ID": "github.com/imdario/mergo@v0.3.11", "Name": "github.com/imdario/mergo", "Version": "0.3.11", + "Licenses": [ + "BSD-3-Clause" + ], "Indirect": true, "Layer": {} }, @@ -102,13 +114,22 @@ "ID": "github.com/mitchellh/copystructure@v1.0.0", "Name": "github.com/mitchellh/copystructure", "Version": "1.0.0", + "Licenses": [ + "MIT" + ], "Indirect": true, + "DependsOn": [ + "github.com/mitchellh/reflectwalk@v1.0.0" + ], "Layer": {} }, { "ID": "github.com/mitchellh/reflectwalk@v1.0.0", "Name": "github.com/mitchellh/reflectwalk", "Version": "1.0.0", + "Licenses": [ + "MIT" + ], "Indirect": true, "Layer": {} }, @@ -139,6 +160,9 @@ "ID": "github.com/shopspring/decimal@v1.2.0", "Name": "github.com/shopspring/decimal", "Version": "1.2.0", + "Licenses": [ + "MIT" + ], "Indirect": true, "Layer": {} }, @@ -146,6 +170,9 @@ "ID": "github.com/spf13/cast@v1.3.1", "Name": "github.com/spf13/cast", "Version": "1.3.1", + "Licenses": [ + "MIT" + ], "Indirect": true, "Layer": {} }, @@ -177,6 +204,9 @@ "ID": "golang.org/x/crypto@v0.3.0", "Name": "golang.org/x/crypto", "Version": "0.3.0", + "Licenses": [ + "BSD-3-Clause" + ], "Indirect": true, "Layer": {} } @@ -216,16 +246,16 @@ ], "Indirect": true, "DependsOn": [ - "golang.org/x/crypto@v0.15.0", "github.com/Masterminds/goutils@v1.1.1", - "github.com/huandu/xstrings@v1.3.2", + "github.com/Masterminds/semver/v3@v3.1.1", + "github.com/google/uuid@v1.3.1", "github.com/imdario/mergo@v0.3.15", + "github.com/stretchr/testify@v1.8.4", + "github.com/huandu/xstrings@v1.3.2", + "github.com/mitchellh/copystructure@v1.2.0", "github.com/shopspring/decimal@v1.3.1", "github.com/spf13/cast@v1.5.0", - "github.com/stretchr/testify@v1.8.4", - "github.com/Masterminds/semver/v3@v3.1.1", - "github.com/google/uuid@v1.3.1", - "github.com/mitchellh/copystructure@v1.2.0" + "golang.org/x/crypto@v0.15.0" ], "Layer": {} }, @@ -327,9 +357,9 @@ ], "Indirect": true, "DependsOn": [ - "github.com/mattn/go-colorable@v0.1.13", "github.com/mattn/go-isatty@v0.0.20", - "golang.org/x/sys@v0.14.0" + "golang.org/x/sys@v0.14.0", + "github.com/mattn/go-colorable@v0.1.13" ], "Layer": {} }, @@ -389,8 +419,8 @@ ], "DependsOn": [ "github.com/fatih/color@v1.16.0", - "github.com/hexops/gotextdiff@v1.0.3", - "github.com/stretchr/testify@v1.8.4" + "github.com/stretchr/testify@v1.8.4", + "github.com/hexops/gotextdiff@v1.0.3" ], "Layer": {} }, @@ -437,9 +467,9 @@ ], "Indirect": true, "DependsOn": [ + "github.com/google/go-cmp@v0.6.0", "github.com/vmihailenco/msgpack@v4.0.4+incompatible", - "golang.org/x/text@v0.14.0", - "github.com/google/go-cmp@v0.6.0" + "golang.org/x/text@v0.14.0" ], "Layer": {} }, @@ -452,10 +482,10 @@ ], "Indirect": true, "DependsOn": [ - "github.com/mattn/go-isatty@v0.0.20", - "github.com/stretchr/testify@v1.8.4", "github.com/fatih/color@v1.16.0", - "github.com/mattn/go-colorable@v0.1.13" + "github.com/mattn/go-colorable@v0.1.13", + "github.com/mattn/go-isatty@v0.0.20", + "github.com/stretchr/testify@v1.8.4" ], "Layer": {} }, @@ -481,13 +511,13 @@ ], "Indirect": true, "DependsOn": [ - "google.golang.org/grpc@v1.59.0", - "github.com/hashicorp/yamux@v0.1.1", "github.com/mitchellh/go-testing-interface@v1.14.1", "github.com/oklog/run@v1.1.0", - "google.golang.org/protobuf@v1.31.0", + "github.com/hashicorp/go-hclog@v1.5.0", + "github.com/hashicorp/yamux@v0.1.1", + "google.golang.org/grpc@v1.59.0", "github.com/golang/protobuf@v1.5.3", - "github.com/hashicorp/go-hclog@v1.5.0" + "google.golang.org/protobuf@v1.31.0" ], "Layer": {} }, @@ -520,15 +550,15 @@ ], "Indirect": true, "DependsOn": [ - "github.com/hashicorp/logutils@v1.0.0", + "github.com/mitchellh/cli@v1.1.5", "github.com/hashicorp/go-multierror@v1.1.1", - "golang.org/x/mod@v0.14.0", "github.com/ProtonMail/go-crypto@v0.0.0-20230923063757-afb1ddc0824c", - "github.com/hashicorp/go-checkpoint@v0.5.0", "github.com/hashicorp/go-cleanhttp@v0.5.2", + "github.com/hashicorp/go-checkpoint@v0.5.0", + "github.com/hashicorp/logutils@v1.0.0", + "golang.org/x/mod@v0.14.0", "github.com/google/go-cmp@v0.6.0", - "github.com/hashicorp/go-version@v1.6.0", - "github.com/mitchellh/cli@v1.1.5" + "github.com/hashicorp/go-version@v1.6.0" ], "Layer": {} }, @@ -541,14 +571,14 @@ ], "Indirect": true, "DependsOn": [ - "github.com/agext/levenshtein@v1.2.3", - "github.com/davecgh/go-spew@v1.1.1", + "github.com/mitchellh/go-wordwrap@v1.0.1", "github.com/spf13/pflag@v1.0.5", - "github.com/apparentlymart/go-textseg/v15@v15.0.0", - "github.com/google/go-cmp@v0.6.0", + "github.com/zclconf/go-cty@v1.14.1", "golang.org/x/crypto@v0.15.0", - "github.com/mitchellh/go-wordwrap@v1.0.1", - "github.com/zclconf/go-cty@v1.14.1" + "github.com/agext/levenshtein@v1.2.3", + "github.com/apparentlymart/go-textseg/v15@v15.0.0", + "github.com/davecgh/go-spew@v1.1.1", + "github.com/google/go-cmp@v0.6.0" ], "Layer": {} }, @@ -572,8 +602,8 @@ "Indirect": true, "DependsOn": [ "github.com/hashicorp/terraform-json@v0.18.0", - "github.com/zclconf/go-cty@v1.14.1", "github.com/google/go-cmp@v0.6.0", + "github.com/zclconf/go-cty@v1.14.1", "github.com/hashicorp/go-version@v1.6.0", "github.com/hashicorp/hc-install@v0.6.1" ], @@ -589,10 +619,10 @@ "Indirect": true, "DependsOn": [ "github.com/davecgh/go-spew@v1.1.1", - "github.com/zclconf/go-cty@v1.14.1", - "github.com/google/go-cmp@v0.6.0", "github.com/hashicorp/go-version@v1.6.0", - "github.com/mitchellh/copystructure@v1.2.0" + "github.com/mitchellh/copystructure@v1.2.0", + "github.com/google/go-cmp@v0.6.0", + "github.com/zclconf/go-cty@v1.14.1" ], "Layer": {} }, @@ -604,17 +634,17 @@ "MPL-2.0" ], "DependsOn": [ + "github.com/google/go-cmp@v0.6.0", + "golang.org/x/exp@v0.0.0-20230626212559-97b1e661b5df", + "github.com/hashicorp/terraform-exec@v0.19.0", + "github.com/hashicorp/hc-install@v0.6.1", + "golang.org/x/text@v0.14.0", + "github.com/russross/blackfriday@v1.6.0", + "github.com/hashicorp/terraform-json@v0.18.0", "github.com/mattn/go-colorable@v0.1.13", "github.com/zclconf/go-cty@v1.14.1", - "github.com/hashicorp/terraform-json@v0.18.0", - "github.com/mitchellh/cli@v1.1.5", - "github.com/hashicorp/terraform-exec@v0.19.0", "github.com/hashicorp/go-version@v1.6.0", - "github.com/russross/blackfriday@v1.6.0", - "golang.org/x/text@v0.14.0", - "github.com/google/go-cmp@v0.6.0", - "github.com/hashicorp/hc-install@v0.6.1", - "golang.org/x/exp@v0.0.0-20230626212559-97b1e661b5df" + "github.com/mitchellh/cli@v1.1.5" ], "Layer": {} }, @@ -627,8 +657,8 @@ ], "DependsOn": [ "github.com/google/go-cmp@v0.6.0", - "github.com/hashicorp/terraform-plugin-log@v0.9.0", - "github.com/hashicorp/terraform-plugin-go@v0.19.1" + "github.com/hashicorp/terraform-plugin-go@v0.19.1", + "github.com/hashicorp/terraform-plugin-log@v0.9.0" ], "Layer": {} }, @@ -640,9 +670,9 @@ "MPL-2.0" ], "DependsOn": [ + "github.com/hashicorp/terraform-plugin-go@v0.19.1", "github.com/google/go-cmp@v0.6.0", - "github.com/hashicorp/terraform-plugin-framework@v1.4.2", - "github.com/hashicorp/terraform-plugin-go@v0.19.1" + "github.com/hashicorp/terraform-plugin-framework@v1.4.2" ], "Layer": {} }, @@ -654,16 +684,16 @@ "MPL-2.0" ], "DependsOn": [ - "github.com/hashicorp/terraform-plugin-log@v0.9.0", - "github.com/google/go-cmp@v0.6.0", + "github.com/hashicorp/terraform-registry-address@v0.2.3", + "google.golang.org/protobuf@v1.31.0", + "github.com/hashicorp/go-plugin@v1.6.0", + "github.com/mitchellh/go-testing-interface@v1.14.1", "github.com/vmihailenco/msgpack/v5@v5.4.1", "google.golang.org/grpc@v1.59.0", - "github.com/hashicorp/go-hclog@v1.5.0", - "github.com/hashicorp/go-plugin@v1.6.0", "github.com/hashicorp/go-uuid@v1.0.3", - "github.com/hashicorp/terraform-registry-address@v0.2.3", - "github.com/mitchellh/go-testing-interface@v1.14.1", - "google.golang.org/protobuf@v1.31.0" + "github.com/hashicorp/terraform-plugin-log@v0.9.0", + "github.com/google/go-cmp@v0.6.0", + "github.com/hashicorp/go-hclog@v1.5.0" ], "Layer": {} }, @@ -675,9 +705,9 @@ "MPL-2.0" ], "DependsOn": [ + "github.com/google/go-cmp@v0.6.0", "github.com/hashicorp/go-hclog@v1.5.0", - "github.com/mitchellh/go-testing-interface@v1.14.1", - "github.com/google/go-cmp@v0.6.0" + "github.com/mitchellh/go-testing-interface@v1.14.1" ], "Layer": {} }, @@ -690,24 +720,24 @@ ], "DependsOn": [ "github.com/mitchellh/go-testing-interface@v1.14.1", - "github.com/google/go-cmp@v0.6.0", + "github.com/zclconf/go-cty@v1.14.1", + "github.com/hashicorp/go-cty@v1.4.1-0.20200414143053-d3edf31b6320", + "github.com/hashicorp/go-version@v1.6.0", "github.com/hashicorp/hcl/v2@v2.19.1", - "github.com/hashicorp/terraform-plugin-log@v0.9.0", - "github.com/hashicorp/go-hclog@v1.5.0", - "github.com/hashicorp/go-uuid@v1.0.3", "github.com/hashicorp/terraform-json@v0.18.0", + "github.com/mitchellh/copystructure@v1.2.0", "github.com/hashicorp/go-plugin@v1.6.0", "github.com/hashicorp/logutils@v1.0.0", - "github.com/hashicorp/terraform-exec@v0.19.0", - "github.com/hashicorp/go-cty@v1.4.1-0.20200414143053-d3edf31b6320", - "github.com/hashicorp/go-version@v1.6.0", - "github.com/hashicorp/hc-install@v0.6.1", - "github.com/mitchellh/mapstructure@v1.5.0", "github.com/hashicorp/terraform-plugin-go@v0.19.1", + "github.com/hashicorp/hc-install@v0.6.1", + "github.com/hashicorp/terraform-plugin-log@v0.9.0", "github.com/mitchellh/reflectwalk@v1.0.2", - "github.com/zclconf/go-cty@v1.14.1", - "github.com/mitchellh/copystructure@v1.2.0", - "golang.org/x/crypto@v0.15.0" + "golang.org/x/crypto@v0.15.0", + "github.com/google/go-cmp@v0.6.0", + "github.com/hashicorp/go-uuid@v1.0.3", + "github.com/mitchellh/mapstructure@v1.5.0", + "github.com/hashicorp/go-hclog@v1.5.0", + "github.com/hashicorp/terraform-exec@v0.19.0" ], "Layer": {} }, @@ -720,9 +750,9 @@ ], "Indirect": true, "DependsOn": [ - "golang.org/x/net@v0.18.0", "github.com/google/go-cmp@v0.6.0", - "github.com/hashicorp/terraform-svchost@v0.1.1" + "github.com/hashicorp/terraform-svchost@v0.1.1", + "golang.org/x/net@v0.18.0" ], "Layer": {} }, @@ -735,11 +765,11 @@ ], "Indirect": true, "DependsOn": [ - "github.com/hashicorp/go-cleanhttp@v0.5.2", + "github.com/google/go-cmp@v0.6.0", + "github.com/hashicorp/go-version@v1.6.0", "github.com/zclconf/go-cty@v1.14.1", "golang.org/x/net@v0.18.0", - "github.com/google/go-cmp@v0.6.0", - "github.com/hashicorp/go-version@v1.6.0" + "github.com/hashicorp/go-cleanhttp@v0.5.2" ], "Layer": {} }, @@ -1104,8 +1134,8 @@ ], "Indirect": true, "DependsOn": [ - "golang.org/x/sys@v0.14.0", - "golang.org/x/net@v0.18.0" + "golang.org/x/net@v0.18.0", + "golang.org/x/sys@v0.14.0" ], "Layer": {} }, @@ -1142,9 +1172,9 @@ ], "Indirect": true, "DependsOn": [ + "golang.org/x/text@v0.14.0", "golang.org/x/crypto@v0.15.0", - "golang.org/x/sys@v0.14.0", - "golang.org/x/text@v0.14.0" + "golang.org/x/sys@v0.14.0" ], "Layer": {} }, @@ -1205,13 +1235,13 @@ ], "Indirect": true, "DependsOn": [ - "github.com/golang/protobuf@v1.5.3", "github.com/google/go-cmp@v0.6.0", - "google.golang.org/genproto/googleapis/rpc@v0.0.0-20231120223509-83a465c0220f", "github.com/google/uuid@v1.3.1", "golang.org/x/sys@v0.14.0", "google.golang.org/protobuf@v1.31.0", - "golang.org/x/net@v0.18.0" + "github.com/golang/protobuf@v1.5.3", + "golang.org/x/net@v0.18.0", + "google.golang.org/genproto/googleapis/rpc@v0.0.0-20231120223509-83a465c0220f" ], "Layer": {} }, diff --git a/CHANGELOG.md b/CHANGELOG.md index a4e6e685..5773c819 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), adheres t [Compare: v1.0.3 → `HEAD`](https://github.com/northwood-labs/terraform-provider-corefunc/compare/v1.0.3..HEAD) +### Building and Dependencies + +* [`de4027c`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/de4027ce4f48f09525b5f0ce4c4000ebd6c75de1): **deps**: Bump `github/codeql-action` from 2.22.7 to 2.22.8 ([#72](https://github.com/northwood-labs/terraform-provider-corefunc/issues/72)) (dependabot[bot]) + ### Documentation * [`3b7d8ca`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/3b7d8cac9ddc38904505c5c9fbbd47fc15f54df5): Updated the `README.md`. +* [`d41ad2e`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/d41ad2e1dafbfac54dacf3ac9d49b50032122089): Updated the Terraform documentation to include the lockfile. +* [`00b7206`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/00b7206578b826912a4e7563d7d6caa2588432a3): Updated the CHANGELOG. +* [`92a73de`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/92a73de97de90a269afd08f4369ee4c5ad4aee59): Ran Markdownlint on the CHANGELOG. +* [`6b7b0a3`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/6b7b0a375e9b17be41055a4f8a2c2dce6401b674): Added a note about base10 to `corefunc_int_leftpad`. +* [`b83580e`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/b83580eeac1b986d8b0fd7d667da31356f7d8bd5): Regenerated the provider documentation. + +### Features + +* [`1135f94`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/1135f9439b1966e3da849c2b9272f84eb89cfd36): Begin implementations of StrLeftPad and IntLeftPad. +* [`92fbf6f`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/92fbf6f5e7f4fd17b1a33135a851143be1fd276e): Implemented the provider side of leftpad functions. ([#73](https://github.com/northwood-labs/terraform-provider-corefunc/issues/73)) + +### Linting + +* [`89b97d3`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/89b97d37ea0495e56fefe181ef7f473680e73a0b): Updated the cache of dependency license information. + +### Testing + +* [`57a7b85`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/57a7b85c17040f880dcaf6546c11cb9acd0a7615): Lookup and run fuzz tests programmatically. ## 1.0.3 — 2023-11-21 diff --git a/corefuncprovider/int_leftpad_data_source.go b/corefuncprovider/int_leftpad_data_source.go index 86f9838a..dcd6fa33 100644 --- a/corefuncprovider/int_leftpad_data_source.go +++ b/corefuncprovider/int_leftpad_data_source.go @@ -81,6 +81,8 @@ func (d *intLeftpadDataSource) Schema( // lint:no_dupe MarkdownDescription: strings.TrimSpace(dedent.Dedent(` Converts an integer to a string, and then pads it with zeroes on the left. + -> If the integer is NOT in base10 (decimal), it will be converted to base10 (decimal) _before_ being padded. + Maps to the ` + linkPackage("IntLeftPad") + ` Go method, which can be used in ` + Terratest + `.`)), Attributes: map[string]schema.Attribute{ "id": schema.Int64Attribute{ diff --git a/docs/data-sources/int_leftpad.md b/docs/data-sources/int_leftpad.md index 4848424e..9ae22bda 100644 --- a/docs/data-sources/int_leftpad.md +++ b/docs/data-sources/int_leftpad.md @@ -4,6 +4,7 @@ page_title: "corefunc_int_leftpad Data Source - corefunc" subcategory: "" description: |- Converts an integer to a string, and then pads it with zeroes on the left. + -> If the integer is NOT in base10 (decimal), it will be converted to base10 (decimal) before being padded. Maps to the corefunc.IntLeftPad() https://pkg.go.dev/github.com/northwood-labs/terraform-provider-corefunc/corefunc#IntLeftPad Go method, which can be used in Terratest https://terratest.gruntwork.io. --- --> @@ -12,6 +13,8 @@ description: |- Converts an integer to a string, and then pads it with zeroes on the left. +-> If the integer is NOT in base10 (decimal), it will be converted to base10 (decimal) _before_ being padded. + Maps to the [`corefunc.IntLeftPad()`](https://pkg.go.dev/github.com/northwood-labs/terraform-provider-corefunc/corefunc#IntLeftPad) Go method, which can be used in [Terratest](https://terratest.gruntwork.io). ## Example Usage diff --git a/docs/data-sources/str_iterative_replace.md b/docs/data-sources/str_iterative_replace.md index 162330a7..772b167e 100644 --- a/docs/data-sources/str_iterative_replace.md +++ b/docs/data-sources/str_iterative_replace.md @@ -71,7 +71,6 @@ data "corefunc_str_iterative_replace" "replacements" { ### Nested Schema for `replacements` Required: -* * `new` (String) * `old` (String) diff --git a/docs/index.md b/docs/index.md index 84d9920e..5d37837e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -78,6 +78,7 @@ In order to resolve this, you can use the `terraform providers lock` command to Per [Recommended Provider Binary Operating Systems and Architectures](https://developer.hashicorp.com/terraform/registry/providers/os-arch): ```shell +#!/usr/bin/env bash terraform providers lock \ -platform=darwin_amd64 \ -platform=darwin_arm64 \ @@ -91,6 +92,7 @@ terraform providers lock \ ### Extended matrix ```shell +#!/usr/bin/env bash terraform providers lock \ -platform=darwin_amd64 \ -platform=darwin_arm64 \ @@ -110,6 +112,7 @@ terraform providers lock \ This is the complete list of supported operating systems and architectures for this specific provider: ```shell +#!/usr/bin/env bash terraform providers lock \ -platform=darwin_amd64 \ -platform=darwin_arm64 \