integrations / integrations/terraform-provider-github
[BUG]: `github_actions_runner_group`'s `selected_workflows` consistent drift
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 8
Description
### Expected Behavior
```text
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.custom-runner-group.github_actions_runner_group.main will be updated in-place
~ resource "github_actions_runner_group" "main" {
id = "42"
name = "custom-runner-group"
~ selected_workflows = [
# (4 unchanged elements hidden)
"acme/anvil/.github/workflows/reusable-deploy-applications.yml@refs/heads/main",
- "acme/anvil/.github/workflows/reusable-deploy-client.yml@refs/heads/main",
"acme/anvil/.github/workflows/reusable-deploy-functions.yml@refs/heads/main",
+ "acme/anvil/.github/workflows/reusable-deploy-client.yml@refs/heads/main",
"acme/anvil/.github/workflows/reusable-deploy.yml@refs/heads/main",
]
# (9 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
```
### Actual Behavior
The `selected_workflows` in `github_actions_runner_group` should not change if the items in the list are the same.
### Terraform Version
Terraform v1.14.3
on darwin_arm64
### GitHub Installation Type
- [x] GitHub.com (Free, Pro, or Team)
- [ ] GitHub Enterprise Server (on-premises)
- [ ] GitHub Enterprise Cloud with Personal Accounts (github.com)
- [ ] GitHub Enterprise Cloud with Managed Users/EMU (github.com)
- [ ] GitHub Enterprise Cloud with Data Residency (*.ghe.com)
- [ ] I don't know
### Affected Resource(s)
- `github_actions_runner_group`
### Terraform Configuration Files
```hcl
```
### Steps to Reproduce
_No response_
### Debug Output
```shell
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.