Open heydonovan opened 9 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Duplicate of #32480
The requirement comes from the AWS API and then from the SDK...
Duplicate of #32480
The requirement comes from the AWS API and then from the SDK...
Looks like this is now unblocked as the field is now optional in the SDK since 1.51.20: https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md#release-v15120-2024-04-11
Use the "tls_certificate" data source:
data "tls_certificate" "tfc" {
url = var.hcp_terraform_url
}
resource "aws_iam_openid_connect_provider" "oidc" {
url = var.hcp_terraform_url
client_id_list = var.client_id_list
thumbprint_list = [data.tls_certificate.tfc.certificates.0.sha1_fingerprint]
}
Description
The
thumbprint_list
argument foraws_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:https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_openid_connect_provider
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
No response
Would you like to implement a fix?
None