We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform version: 1.9.7 HCP provider version: 0.97.0
resource "hcp_iam_workload_identity_provider" "example" { name = "github-example" service_principal = hcp_service_principal.deployment_sp.resource_name description = "Allow acme-repo deploy workflow to access my-app-runtime service principal" oidc { issuer_uri = "https://token.actions.githubusercontent.com" } conditional_access = "<CONDITION>" }
terraform apply with example code in hcp_iam_workload_identity_provider.
terraform apply
hcp_iam_workload_identity_provider
Error output like the following.
oidc { Blocks of type "oidc" are not expected here. Did you mean to define argument "oidc"? If so, use the equals sign to assign it a value.
The oidc block was defined as an argument and set to a value with = like the following and terraform apply ran successfully.
oidc
=
oidc = { issuer_uri = "https://token.actions.githubusercontent.com" }
The text was updated successfully, but these errors were encountered:
Ran into this as well and made PR to fix the documentation
#1115
Sorry, something went wrong.
No branches or pull requests
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
terraform apply
with example code inhcp_iam_workload_identity_provider
.Error output like the following.
Expected Behavior
The
oidc
block was defined as an argument and set to a value with=
like the following andterraform apply
ran successfully.Actual Behavior
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: