Skip to content

Module is not compatible with the GovCloud region #1245

Closed

Description

@aidan-mundy

I will add more problems here as I find them, initial problem in my GovCloud journey is that the GovCloud region ARNs start with "arn:aws-us-gov:" and the module hardcodes ARNs as "arn:aws:". (A similar problem will cause this module to fail in the China regions)
https://github.com/philips-labs/terraform-aws-github-runner/blob/1e6c8b02f498be71238975eebe0aee18a3668084/modules/runners/policies-runner.tf#L29

Activity

  1. added
    good first issue
    help wanted
    on Oct 7, 2021
  2. npalm commented on Oct 7, 2021

    @npalm
    Member

    I assume we have hard coded this even on more places. Feel free to sugges an absraction in a PR. Thanks for taking the time to create an issue.

  3. aidan-mundy commented on Oct 7, 2021

    @aidan-mundy
    Author

    @npalm Surprisingly, changing that single line was enough to make the module work in my GovCloud environment with GHES. I am using the root module, default KMS, and most of the standard options.

    I will be doing more testing with some of the more niche options to find other GovCloud incompatibilities. Once I'm satisfied with my hard-coded changes, I'll write up an abstraction for it (hopefully automated, but potentially with an input variable) and put up a PR.

  4. npalm commented on Nov 9, 2021

    @npalm
    Member

    @aidan-mundy is you issue resolved?

  5. aidan-mundy commented on Nov 9, 2021

    @aidan-mundy
    Author

    @npalm I havent found any additional issues in the module (related to GovCloud anyway). Haven't had the chance to throw up an MR for the issue I mentioned above, but I can do that in the next week or two.

  6. jokreliable commented on Apr 5, 2022

    @jokreliable
    Contributor

    I believe that with the merge mentioned above, this issue can be resolved.

  7. aidan-mundy commented on Apr 5, 2022

    @aidan-mundy
    Author

    Agreed, that merge appears to resolve the issue I had detected, as well as other potentially related issues. It appears this fell off my radar at some point, thanks for picking up the slack @jokreliable

  8. jokreliable commented on Apr 5, 2022

    @jokreliable
    Contributor

    No worries - Took me a month to get back on my radar too.. 😄 -- Glad it helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions