Skip to content

[Enhancement]: optional "thumbprint_list" for "aws_iam_openid_connect_provider" #35112

Description

@heydonovan

Description

The thumbprint_list argument for aws_iam_openid_connect_provider is required. The AWS UI indicates this is a legacy setting. As a developer, I should be able to skip this argument without receiving this error in Terraform:

Required attribute "thumbprint_list" not specified: An attribute named "thumbprint_list" is required here

AWS secures communication with this OIDC identity provider (IdP) using our library of trusted CAs rather than using a certificate thumbprint to verify the server certificate of your IdP. Your legacy thumbprint(s) will remain in your configuration but will no longer be needed for validation.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_openid_connect_provider

Affected Resource(s) and/or Data Source(s)

  • aws_iam_openid_connect_provider

Potential Terraform Configuration

resource "aws_iam_openid_connect_provider" "gitlab" {
  url             = "https://gitlab.com"
  client_id_list  = ["https://gitlab.com"]
}

References

No response

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

Labels

enhancementRequests to existing resources that expand the functionality or scope.service/iamIssues and PRs that pertain to the iam service.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions