Skip to content
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

[BUG]: github_repository_environment wait_timer #1996

Closed
1 task done
scott-doyland-burrows opened this issue Nov 3, 2023 · 1 comment · Fixed by #2001
Closed
1 task done

[BUG]: github_repository_environment wait_timer #1996

scott-doyland-burrows opened this issue Nov 3, 2023 · 1 comment · Fixed by #2001
Labels
Type: Bug Something isn't working as documented

Comments

@scott-doyland-burrows
Copy link
Contributor

scott-doyland-burrows commented Nov 3, 2023

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

  • provider registry.terraform.io/integrations/github v5.40.0

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

  • I agree to follow this project's Code of Conduct
@scott-doyland-burrows scott-doyland-burrows added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Nov 3, 2023
Copy link

github-actions bot commented Nov 3, 2023

👋 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! 🚀

@github-project-automation github-project-automation bot moved this to 🆕 Triage in 🧰 Octokit Active Nov 3, 2023
@scott-doyland-burrows scott-doyland-burrows changed the title [BUG]: github_repository_environment [BUG]: github_repository_environment wait_timer Nov 4, 2023
@kfcampbell kfcampbell removed the Status: Triage This is being looked at and prioritized label Nov 7, 2023
@kfcampbell kfcampbell moved this from 🆕 Triage to 👀 In review in 🧰 Octokit Active Nov 7, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in 🧰 Octokit Active Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
None yet
2 participants