New issue
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 Crash - value is marked, so must be unmarked first #30824
Comments
In case it helps for triage purposes, vercel/vercel is a terraform-plugin-framework based provider (protocol version 6) and the And |
Thanks for the report! I'm able to reproduce it with this minimal config: terraform {
required_providers {
nested = {
source = "alisdair/nested"
}
}
}
resource "nested_set" "example" {
name = "example"
values = [
{
string = sensitive("foo")
},
]
} |
I can confirm that's probably the culprit — even on the 100-resource configuration I'm using, the error happens with the Sorry for not making the example smaller, but glad you figured it out relatively quickly. :-) |
There's a fix pending review in #30825. I think it will have the unfortunate side effect of making the diff for your example code less useful, as the entire
This is a side effect of the Addressing that and providing a more detailed diff of sets with sensitive values is a more complex task that will take some design work. In the mean time, if you do not consider the value = nonsensitive(aws_cognito_user_pool_client.api.client_secret) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.githubusercontent.com/joaomlneto/a84503bf02d776363601b09b5835b68d/raw/697747b065a31a8c0fd6d0f85a897c77167f80ce/stderr.out
Expected Behavior
Resource
vercel_project.test
should be created successfully.Actual Behavior
Terraform crashes with error "value is marked, so must be unmarked first"
Steps to Reproduce
terraform init
terraform apply
Additional Context
One of the providers (
vercel/vercel
) is quite recent and still in beta, so may be the culprit.References
None that I've seen.
The text was updated successfully, but these errors were encountered: