-
Notifications
You must be signed in to change notification settings - Fork 219
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
[Bug]: Error after upgrade provider: Error: id "85" does not match expected format. Should be in the format: stackSlug:serviceAccountID #1425
Comments
Sorry about that. PR and patch release incoming: #1424 |
I have the same issue with
|
This is embarrassing... Fix is here: #1426 As a workaround, you can do a targeted apply on the |
plan works in theory, but I now terraform wants to recreate the SA. Is this expected?
|
Not expected but will fix. Terraform resource IDs are a minefield, can't wait to move away from the old SDK. For now, you can do a targeted apply on the service account token |
…esource As mentioned here: #1425 (comment), the plan looks good but the apply of the stack SA causes a recreation of the token Added a `DiffSuppressFunc` and expanded the test to include a full use case
…esource (#1431) * Fix `service_account_id` reference in `stack_service_account_token` resource As mentioned here: #1425 (comment), the plan looks good but the apply of the stack SA causes a recreation of the token Added a `DiffSuppressFunc` and expanded the test to include a full use case * Add validation for update and delete too. These can make tests panic * Fix test so it doesn't fail randomly
Terraform Version
1.7.5
Terraform Grafana Provider Version
2.14.0
Grafana Version
Cloud
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
No error
Actual Behavior
Error: id "85" does not match expected format. Should be in the format: stackSlug:serviceAccountID
Steps to Reproduce
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: