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]: Swallow 404 Not Found when deleting environments #3131
A lot of resources should be considered deleted when they cannot be found.
When an environment no longer exist and terraform tries to delete it, it should swallow 404 errors and go on.
Actual Behavior
Applying when an environment that must be deleted no longer exist fails.
Terraform Version
6.9.1
Affected Resource(s)
github_repository_environment
Terraform Configuration Files
Steps to Reproduce
Create an environment through TF
Delete the environment or the repository externally (Bad, I know :))
The apply fails although it is in the desired state
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
Activity
github-actions commentedon Jan 27, 2026
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with
Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀