Skip to content

Existing Resources are forcing to be recreated #2061

Open
@kmocva

Description

@kmocva

Terraform Version

1.11.1

Terraform Grafana Provider Version

3.18.3

Grafana Version

10.2.2

Affected Resource(s)

I am experiencing the below mentioned error while executing terraform plan. I double checked that the ID hasnt changed both in terraform state file and in Grafana contact point. Eventhough the resources are existing in Grafana and in terraform state file, its forcing it to be recreated.

Terraform Grafana Provider:
3.18.3

I tried with 3.20.0 and 3.21.0 but no luck.

Terraform Version:
1.11.0

Grafana Version:
10.2.2

│ Warning: contact point with ID "xxxxxxxxxxxxxxxxxxxxx" is in Terraform state, but no longer exists in Grafana
│ 
│ "xxxxxxxxxxxxxxxxxxxxxxx" will be recreated when you apply
╵

╷
│ Warning: datasource with ID "3:1" is in Terraform state, but no longer exists in Grafana
│ 
│ "3:1" will be recreated when you apply

Terraform Configuration Files

No response

Expected Behavior

No response

Actual Behavior

No response

Steps to Reproduce

No response

Important Factoids

No response

References

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions