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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atlantis action name format is incompatible with terraform-provider-github #3814

Open
yorik opened this issue Oct 5, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@yorik
Copy link

yorik commented Oct 5, 2023

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

terraform-provider-github made contexts deprecated and in replacing it checks character : used to as delimiter between name and app_id.

See integrations/terraform-provider-github#1531 for details.

Reproduction Steps

Try to configure github_branch_protection_v3 with required_status_checks like atlantis/pre_workflow_hook: Pre workflow hook #0. Example:

resource "github_branch_protection_v3" "this" {
  repository = "foo/bar"
  branch = "main"
  required_status_checks {
    strict = true
    checks = [
      "atlantis/pre_workflow_hook: Pre workflow hook #0:-1",
    ]
  }
}

Logs

The error appears only during terragrunt apply:

Error: Could not parse  Pre workflow hook #1:-1 as valid app_id

Environment details

Additional Context

@yorik yorik added the bug Something isn't working label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant