scalr_workload_identity_provider
Resource: scalr_workload_identity_provider
Manages the state of workload identity providers in Scalr.
Example Usage
Github Actions
resource "scalr_workload_identity_provider" "github" {
name = "github-actions"
url = "https://token.actions.githubusercontent.com"
allowed_audiences = ["scalr-github-actions"]
}
Gitlab CI
resource "scalr_workload_identity_provider" "gitlab" {
name = "gitlab-ci"
url = "https://gitlab.com"
allowed_audiences = ["scalr-gitlab-ci"]
}
Schema
Required
allowed_audiences
(Set of String) Set of allowed audiences for the workload identity provider. Must contain at least 1 and at most 10 elements.name
(String) Name of the workload identity provider.url
(String) The URL of the workload identity provider.
Read-Only
id
(String) The ID of this resource.
Updated 4 days ago