integrations / terraform-provider-github

Terraform GitHub provider
https://www.terraform.io/docs/providers/github/
MIT License
905 stars 746 forks source link

[BUG]: github_repository_environment wait_timer #1996

Closed scott-doyland-burrows closed 11 months ago

scott-doyland-burrows commented 1 year ago

Expected Behavior

For the github_repository_environment resource I set the wait_timer to a value in the code.

I apply and the wait_timer is set correctly in GitHub.

I then remove the wait timer via the Web UI.

Terraform should report a diff but it doesn't.

There seems to be a reoccurring theme in the GitHub provider where manual updates to GitHub are not reported as a diff in terraform.

Actual Behavior

Terraform does not report a diff. This means the terraform code and statefile are out of sync with GitHub,

Terraform Version

Terraform v1.6.2 on linux_amd64

Affected Resource(s)

github_repository_environment

Terraform Configuration Files

resource "github_repository_environment" "test" {
  repository  = "scott-repo01"
  environment = "env1"
  wait_timer  = 10000
}

Steps to Reproduce

terraform apply

Remove (untick) wait timer in Web UI.

terraform apply and no diff is shown.

Debug Output

No response

Panic Output

No response

Code of Conduct

github-actions[bot] commented 1 year ago

👋 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 labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀