You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: Imported repos have drift on template item #2558
That would be ideal IMO yes. But FWIW I just handled this via a dynamic block where repos get opted-in by default, but can opt-out the older existing repos.
Well, it's not really possible for the provider to support a case of mismatched config and upstream state. It might be possible that in the future we make it error instead of drift, since the provider can't know when a user intended to do something unsupported or when there is an actual problem.
Using a dynamic block in lieu of a separate resource seems like the most reasonable solution
Activity
vlatko-b commentedon Feb 7, 2025
In a strange way after 2 TF apply commands the drift goes away
Blacksmoke16 commentedon May 20, 2025
For a while, but always seems to come back eventually :/.
gabrielsoltz commentedon May 21, 2025
Also seeing this behaviour
meraj-kashi commentedon Aug 26, 2025
I’ve experienced the same issue when creating a new repository from a template — the diff always appears.
deiga commentedon Jan 6, 2026
Let me see if I understand correctly:
templateblock configured@vlatko-b Is this correct?
And you're expecting the
templateblock to not show in diff, even though you've configured it?Blacksmoke16 commentedon Jan 7, 2026
That would be ideal IMO yes. But FWIW I just handled this via a dynamic block where repos get opted-in by default, but can opt-out the older existing repos.
deiga commentedon Mar 22, 2026
Well, it's not really possible for the provider to support a case of mismatched config and upstream state. It might be possible that in the future we make it error instead of drift, since the provider can't know when a user intended to do something unsupported or when there is an actual problem.
Using a dynamic block in lieu of a separate resource seems like the most reasonable solution