Resource
dcloud_iam_oidc_provider
An OpenID Connect identity provider (e.g. GitHub Actions) whose tokens can assume roles. Name it as Principal.Federated in an dcloud_iam_role trust policy.
Example Usage
resource "dcloud_iam_oidc_provider" "github" {
url = "https://token.actions.githubusercontent.com"
}Schema
Required
url(String) The issuer, e.g.https://token.actions.githubusercontent.com. Changing it replaces the resource.
Optional
audiences(List of String) The aud values a token may carry; omitted: the console’s own address, the audience the guides tell a job to request
Read-Only
id(String) The resource's id.rn(String) The provider's resource name:Principal.Federatedin a trust policy.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
terraform import dcloud_iam_oidc_provider.github <provider-id>Generated from the provider's schema.
Related