Skip to content

Commit

Permalink
Merge pull request #418 from noqdev/task/allow-customized-hub-spoke-r…
Browse files Browse the repository at this point in the history
…ole-names

Allow customizing hub and spoke role names for development
  • Loading branch information
castrapel committed May 17, 2023
2 parents 84f7fc3 + 2624fd8 commit 90df482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iambic/plugins/v0_1_0/aws/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@

ARN_RE = r"(^arn:([^:]*):([^:]*):([^:]*):(|\*|[\d]{12}|cloudfront|aws|{{var.account_id}}):(.+)$)|^\*$"

IAMBIC_HUB_ROLE_NAME = "IambicHubRole"
IAMBIC_SPOKE_ROLE_NAME = "IambicSpokeRole"
IAMBIC_HUB_ROLE_NAME = os.getenv("IAMBIC_HUB_ROLE_NAME", "IambicHubRole")
IAMBIC_SPOKE_ROLE_NAME = os.getenv("IAMBIC_SPOKE_ROLE_NAME", "IambicSpokeRole")


def get_hub_role_arn(account_id: str, role_name=None) -> str:
Expand Down

0 comments on commit 90df482

Please sign in to comment.