-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Normally, if you create drift by removing a resource from the deployed infrastructure, Terraform will try to re-create the resource as it is still specified in the state.
This is not the case with the token resource in this provider.
E.g. if i delete a Token, which was created using Terraform, I get the following error:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Unable to read token
│
│ with axiom_token.axiom_token_analytics_prod,
│ on cdk.tf.json line 227, in resource.axiom_token.axiom_token_analytics_prod:
│ 227: },
│
│ API error 404: Not Found
╵
This can be worked around by removing the resource from the state first using terraform state rm axiom_token.axiom_token_analytics_prod
.
stabl-gjn and rodrigomafra-stabl
Metadata
Metadata
Assignees
Labels
No labels