Skip to content

Duplicate resources are created by default #403

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

Open
jozefizso opened this issue Mar 15, 2024 · 0 comments
Open

Duplicate resources are created by default #403

jozefizso opened this issue Mar 15, 2024 · 0 comments

Comments

@jozefizso
Copy link

When modeling existing Sentry org and projects to terraform the plan will by default create all the resources as new entities in Sentry. As the Sentry UI does not show the internal ID for the resources the org will have duplicate projects which are hard to distinguish from the original ones.

Unless we manually import each resource into the TF state, the provider will create duplicates even when slugs are the same.

It would be more intuitive when Sentry provider would not duplicate these resources and it would use the slug as identifier to match resources in .tf files to the entities on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant