unfunco / terraform-aws-oidc-github

Terraform module to configure GitHub Actions as an IAM OIDC identity provider in AWS.
https://registry.terraform.io/modules/unfunco/oidc-github/aws/latest
Apache License 2.0
91 stars 51 forks source link

Failed to query available provider packages #12

Closed mits87 closed 2 years ago

mits87 commented 2 years ago

Hi there!

Thanks for great module! One small thing, currently when I'm trying to use that module I'm getting this error:

image

I guess this is because I'm using older version of hashicorp/aws than you:

aws = {
  source  = "hashicorp/aws"
  version = "~> 3.74"
}

Could you support also version 3.74?

unfunco commented 2 years ago

Hello @mits87 – I'll take a look at this later today to see if all the resources are supported and if it's possible, I will publish an update. Thanks!

unfunco commented 2 years ago

Hey @mits87 – unfortunately the data resource aws_iam_openid_connect_provider requires v4.2.0 or later of the AWS provider and I don't want to break backwards compatibility for other users. Sorry about that.