Skip to content

[BUG]: github_actions_runner_group's selected_workflows consistent drift #3478

Description

@sheeeng

Expected Behavior

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

  • 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

Steps to Reproduce

No response

Debug Output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions