Releases: cloudposse/terraform-provider-awsutils
v0.20.1
🚀 Enhancements
Revert "🐞 fix(go base sdk): version update (#73)" @Benbentwo (#84)
# ROLL BACK (PR Option 1) closes #82 closes #83This reverts commit f40eaf9.
what
- Reverts commit that introduced error:
The plugin.(*GRPCProvider).ConfigureProvider request was cancelled.
Stack trace from the terraform-provider-awsutils plugin:
panic: interface conversion: interface {} is string, not *string
goroutine 313 [running]:
github.com/cloudposse/terraform-provider-awsutils/internal/provider.providerConfigure({0xb11a0a0, 0xc0004c0c60}, 0xc0008dae00, {0xc0008c2478, 0x5})
github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:284 +0x1185
github.com/cloudposse/terraform-provider-awsutils/internal/provider.New.func1({0xb11a0a0?, 0xc0004c0c60?}, 0xc0004c0c60?)
github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:270 +0x45
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0001080c0, {0xb11a0a0, 0xc0004c0c60}, 0xd?)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/provider.go:297 +0x1e2
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc000126108, {0xb11a0a0?, 0xc00082d530?}, 0xc000744198)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:557 +0x338
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ConfigureProvider({0xc0004ac240, 0xc0004ac2a0, {0xc0009d8840, 0x2, 0x2}, 0xc0004ac270, 0xc0004abc40, 0xc00070e210, 0xc0004ac2d0}, {0xb11a0a0, ...}, ...)
github.com/hashicorp/[email protected]/tf5muxserver/mux_server_ConfigureProvider.go:25 +0x172
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc000614140, {0xb11a0a0?, 0xc00082ca50?}, 0xc0007f8140)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:556 +0x2aa
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0xa144b00, 0xc000614140}, {0xb11a0a0, 0xc00082ca50}, 0xc0008d21c0, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:331 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0xc0004ad2f0, 0x1111dfd8, 0x0)
google.golang.org/[email protected]/server.go:1295 +0xaea
google.golang.org/grpc.(*Server).handleStream(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0x0)
google.golang.org/[email protected]/server.go:1636 +0x9da
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/[email protected]/server.go:932 +0x87
created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 310
google.golang.org/[email protected]/server.go:930 +0x226
Error: The terraform-provider-awsutils plugin crashed!
🐛 Bug Fixes
Revert "🐞 fix(go base sdk): version update (#73)" @Benbentwo (#84)
# ROLL BACK (PR Option 1) closes #82 closes #83This reverts commit f40eaf9.
what
- Reverts commit that introduced error:
The plugin.(*GRPCProvider).ConfigureProvider request was cancelled.
Stack trace from the terraform-provider-awsutils plugin:
panic: interface conversion: interface {} is string, not *string
goroutine 313 [running]:
github.com/cloudposse/terraform-provider-awsutils/internal/provider.providerConfigure({0xb11a0a0, 0xc0004c0c60}, 0xc0008dae00, {0xc0008c2478, 0x5})
github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:284 +0x1185
github.com/cloudposse/terraform-provider-awsutils/internal/provider.New.func1({0xb11a0a0?, 0xc0004c0c60?}, 0xc0004c0c60?)
github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:270 +0x45
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0001080c0, {0xb11a0a0, 0xc0004c0c60}, 0xd?)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/provider.go:297 +0x1e2
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc000126108, {0xb11a0a0?, 0xc00082d530?}, 0xc000744198)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:557 +0x338
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ConfigureProvider({0xc0004ac240, 0xc0004ac2a0, {0xc0009d8840, 0x2, 0x2}, 0xc0004ac270, 0xc0004abc40, 0xc00070e210, 0xc0004ac2d0}, {0xb11a0a0, ...}, ...)
github.com/hashicorp/[email protected]/tf5muxserver/mux_server_ConfigureProvider.go:25 +0x172
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc000614140, {0xb11a0a0?, 0xc00082ca50?}, 0xc0007f8140)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:556 +0x2aa
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0xa144b00, 0xc000614140}, {0xb11a0a0, 0xc00082ca50}, 0xc0008d21c0, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:331 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0xc0004ad2f0, 0x1111dfd8, 0x0)
google.golang.org/[email protected]/server.go:1295 +0xaea
google.golang.org/grpc.(*Server).handleStream(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0x0)
google.golang.org/[email protected]/server.go:1636 +0x9da
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/[email protected]/server.go:932 +0x87
created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 310
google.golang.org/[email protected]/server.go:930 +0x226
Error: The terraform-provider-awsutils plugin crashed!
v0.20.0
Use large runs-on runners @goruha (#80)
## what * Use large runs-on runnerswhy
- Speedup go release build
Use large disk size for go releases @goruha (#79)
## what * Use large disk size for go releaseswhy
- Solve disk space shortage
Fix typos @NathanBaulch (#70)
Just thought I'd contribute some typo fixes that I stumbled on. Nothing controversial (hopefully).Use the following command to get a quick summary of the specific corrections made:
git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
| sort | uniq -c | sort -n
FWIW, the typos are:
- connetion
- crypted
- disabed
- gatway
- initializatin
- intrenet
- occurence
- provdier
- relication
- remmoves
- terrform
- updateable
Use runs-on @goruha (#78)
## what * Use runs onwhy
- Github public runners have low disk space for go release
references
Enable runs-on @goruha (#77)
## what * Added runs on configwhy
- Github public runners have low disk space for go release
references
Update names_data.csv @petabook (#75)
Added env vars for EC2. This makes it easier to test with LocalStack.🚀 Enhancements
🐞 fix(go base sdk): version update @ramongalate (#73)
adding the newest version of the aws base sdk for go, so that the new optin regions available in aws are recognised by the providerwhat
- Upgrades aws-sdk-go-base from v2.0.0-beta.16 (April 2022) to v2.0.0-beta.59 (October 2024), as well as the needed dependencies.
why
- the new optin region should be recognized as valid regions.
- When trying to create a provider in the me-central-1 region, the provider comes back with an Invalid AWS Region: me-central-1 error message.
reproduce
- create a provider in an optin region with any resource and do a terraform plan.
references
- optin regions
- closes #71, issue
- current version
🤖 Automatic Updates
Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 @[dependabot[bot]](https://github.com/apps/dependabot) (#62)
Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0.You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
v0.19.1
Go auto release workflows @goruha (#67)
# What * Use go auto-release workflow `cloudposse/.github/.github/workflows/shared-go-auto-release.yml@main` * Remove `.goreleaser.yml`. Now will use https://github.com/cloudposse/.github/blob/main/.github/goreleaser.yml * Drop `auto-release.yaml`. Now will use https://github.com/cloudposse/.github/blob/main/.github/auto-release.yml and https://github.com/cloudposse/.github/blob/main/.github/auto-release-hotfix.ymlWhy
- Consolidate go releases workflows pattern
🤖 Automatic Updates
0.19.0
What's Changed
- Switch to using GHA runner set by @Nuru in #51
- Consolidate auto-release workflow by @goruha in #54
- Update AWS config to fix SSO login by @petrzjunior in #53
- Update Scaffolding by @osterman in #55
- Auto release fix by @goruha in #56
- Fix release workflow by @goruha in #57
- Install git to fix release workflow by @goruha in #58
- Update release workflow to install GPG by @Nuru in #59
New Contributors
- @goruha made their first contribution in #54
- @petrzjunior made their first contribution in #53
- @osterman made their first contribution in #55
Full Changelog: 0.18.1...0.19.0
v0.19.0-rc2
v0.19.0-rc1 Update AWS config to fix SSO login
Update AWS config to fix SSO login @petrzjunior (#53)
what
- update aws/aws-sdk-go-v2/config and aws/aws-sdk-go-v2/credentials to the newest versions
why
- old version does not allow SSO login to AWS and crashes, see #52
Error: error configuring Terraform AWS Provider: loading configuration: profile "profile" is configured to use SSO but is missing required configuration: sso_region, sso_start_url
references
- closes #52
- relevant discussion in AWS provier: hashicorp/terraform-provider-aws#28263 (comment)
P.S. This is my first ever Go PR, feel free to correct me. This is currently a blocking issue for me so I am trying to push it.
0.16.0
Released May 3, 2023. Accidentally re-released March 25, 2024.