Skip to content

Releases: cloudposse/terraform-provider-awsutils

v0.20.1

28 Feb 22:41
4621c6f
Compare
Choose a tag to compare

🚀 Enhancements

Revert "🐞 fix(go base sdk): version update (#73)" @Benbentwo (#84) # ROLL BACK (PR Option 1) closes #82 closes #83

This 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 #83

This 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

28 Feb 18:32
0237b01
Compare
Choose a tag to compare
Cut release @goruha (#81) ## what * Cut release

why

  • Test go release workflow
Use large runs-on runners @goruha (#80) ## what * Use large runs-on runners

why

  • Speedup go release build
Use large disk size for go releases @goruha (#79) ## what * Use large disk size for go releases

why

  • 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 on

why

  • Github public runners have low disk space for go release

references

Enable runs-on @goruha (#77) ## what * Added runs on config

why

  • 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 provider

what

  • 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

🤖 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.

Dependabot compatibility score

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

23 Apr 12:31
c441d59
Compare
Choose a tag to compare
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.yml

Why

  • Consolidate go releases workflows pattern

🤖 Automatic Updates

Add GitHub Settings @osterman (#60) ## what - Install a repository config (`.github/settings.yaml`)

why

  • Programmatically manage GitHub repo settings

0.19.0

25 Mar 21:37
9be9c6e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.18.1...0.19.0

v0.19.0-rc2

23 Mar 09:17
0.19.0-rc2
fa5ccab
Compare
Choose a tag to compare
v0.19.0-rc2 Pre-release
Pre-release
Auto release fix @goruha (#56)

What

  • Use auto relesase shared workflow

Why

🤖 Automatic Updates

Update Scaffolding @osterman (#55)

what

  • Reran make readme to rebuild README.md from README.yaml
  • Migrate to square badges
  • Add scaffolding for repo settings and Mergify

why

  • Upstream template changed in the .github repo
  • Work better with repository rulesets
  • Modernize look & feel

v0.19.0-rc1 Update AWS config to fix SSO login

09 Mar 07:30
0.19.0-rc1
87e804a
Compare
Choose a tag to compare
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

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

25 Mar 23:33
0.16.0
977fcdc
Compare
Choose a tag to compare

Released May 3, 2023. Accidentally re-released March 25, 2024.

add caller identity data source @mcalhoun (#39)

what

  • Add a data source to get the sts caller identity

why

  • we want to be able to get the caller identity when we are already using this provider without having to configure an additional instance of the official AWS provider

v0.18.2

01 Feb 20:41
16a70f2
Compare
Choose a tag to compare
v0.18.2 Pre-release
Pre-release
Consolidate auto-release workflow @goruha (#54)

what

  • Use cloudposse/github-action-auto-release in auto-release.yaml workflow

why

  • Solve old nodejs warning
  • Reduce duplication of code
Switch to using GHA runner set @Nuru (#51)

what

  • Move builder workflow to GitHub Action Runner Set

why

  • Replacing self-hosted "runners" with "runner set"

0.18.1

31 Jul 23:39
5bfee62
Compare
Choose a tag to compare

🚀 Enhancements

fix bug when resources change outside terraform @mcalhoun (#50)

what

  • Fix a bug where the provider wouldn't detect if a change was made to macie members outside of terraform

why

  • To update terraform state when a change occurs outside of terraform

🐛 Bug Fixes

fix bug when resources change outside terraform @mcalhoun (#50)

what

  • Fix a bug where the provider wouldn't detect if a change was made to macie members outside of terraform

why

  • To update terraform state when a change occurs outside of terraform

0.18.0

31 Jul 20:36
c237c5b
Compare
Choose a tag to compare
update goreleaser config @mcalhoun (#49)

what

  • Update goreleaser config

why

  • Only build needed platforms and architectures