Resource Type definition for AWS::IAM::OIDCProvider
To create an IAM OIDC provider with tags
data "tls_certificate" "tfc_certificate" {
url = "https://app.terraform.io"
}
resource "awscc_iam_oidc_provider" "this" {
thumbprint_list = [data.tls_certificate.tfc_certificate.certificates[0].sha1_fingerprint]
client_id_list = ["aws.workload.identity", ]
url = data.tls_certificate.tfc_certificate.url
tags = [{
key = "Name"
value = "IAM OIDC Provider"
},
{
key = "Environment"
value = "Development"
},
{ key = "Modified By"
value = "AWSCC"
}]
}
thumbprint_list
(List of String)client_id_list
(List of String)tags
(Attributes List) (see below for nested schema)url
(String)arn
(String) Amazon Resource Name (ARN) of the OIDC providerid
(String) Uniquely identifies the resource.tags
Required:
key
(String) The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.value
(String) The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.Import is supported using the following syntax:
$ terraform import awscc_iam_oidc_provider.example <resource ID>