aws.iam-openid-connect-provider data source¶
Description¶
OpenIDConnectProviderData resolves an existing IAM OpenID Connect (OIDC) provider by either its arn or its url, exactly one of which must be set. Given an arn it reads that provider directly; given a url it lists every provider in the account and matches by the url that each provider's arn embeds after its slash, then reads the matching arn. Unlike a resource read, a data source must resolve, so a lookup that finds nothing returns a descriptive error rather than runtime.ErrNotFound.
Source: internal/service/iam/openid_connect_provider_dsrc.go:23
Example usage:
imports: {
aws: 'github.com/cloudboss/unobin-library-aws'
}
data-sources: {
example: aws.iam-openid-connect-provider {
# Set input fields here.
}
}
Inputs¶
arn
optional(string)
url
optional(string)
Input Constraints¶
Field combinations
Exactly one of arn or url.
Outputs¶
arn
string
url
string
client-id-list
list(string)
thumbprint-list
list(string)
tags
map(string)