-
Notifications
You must be signed in to change notification settings - Fork 939
Closed
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Description
Expected Behavior
When a successful apply of a destruction, I would not expect to see the file in the repository anymore
Actual Behavior
Even if there is an HTTP error, the terraform process exits successfully.
Terraform Version
Terraform v1.9.8
on darwin_arm64
- provider registry.terraform.io/integrations/github v6.3.1
Affected Resource(s)
- github_repository_file
Terraform Configuration Files
No response
Steps to Reproduce
- Create the resource
- Delete the resource after changing ownership preventing you from doing so.
resource "github_repository_file" "foo" {
repository = "tmp"
branch = "main"
file = ".gitignore"
content = "**/*.tfstate"
commit_message = "Managed by Terraform"
commit_author = "Terraform User"
commit_email = "terraform@example.com"
overwrite_on_create = true
}then
// resource "github_repository_file" "foo" {
// repository = "tmp"
// branch = "main"
// file = ".gitignore"
// content = "**/*.tfstate"
// commit_message = "Managed by Terraform"
// commit_author = "Terraform User"
// commit_email = "terraform@example.com"
// overwrite_on_create = true
// }Debug Output
No response
Panic Output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
✅ Done
Status
Done