rollbar / terraform-provider-rollbar

Terraform provider for Rollbar
https://rollbar.com
MIT License
28 stars 13 forks source link

Provider produced inconsistent result after apply #361

Closed pavelpp closed 1 year ago

pavelpp commented 1 year ago

I'm creating project tokens using for_each statement and seeing this error upon running apply after the first token is created.

╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to module.rollbar.rollbar_project_access_token.project_token["token_1"], provider
│ "module.rollbar.provider[\"registry.terraform.io/rollbar/rollbar\"]" produced an unexpected new value: Root resource was present, but now absent.
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Worth noting that it passed on second apply and created remaining 2 tokens

OS: MacOs 12.5.1 HW: Apple Silicon Provider version: 1.12.0

Terraform v1.3.7 on darwin_arm64

ghost commented 1 year ago

Hey, @pavelpp @jtsaito, Thanks for reporting this issue. As it is a duplicate of https://github.com/rollbar/terraform-provider-rollbar/issues/359, I close this ticket. Let's keep all communication in that thread. Cheers, @rollbar-bborsits