Skip to content

Commit

Permalink
Merge pull request #20 from jplock/jp-fix-assertion
Browse files Browse the repository at this point in the history
[fix] rule assertion
  • Loading branch information
jplock authored Feb 13, 2025
2 parents 97be143 + d6c8dfb commit dd1f12b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ Rules:
tCreateOrganization:
RuleCondition: !Equals ["No", !Ref pCreateNewAwsOrg]
Assertions:
- Assert: !Or
- !Equals [!Ref pOrganizationId, ""]
- !Equals [!Ref pOrganizationRootId, ""]
- Assert: !And
- !Not [!Equals [!Ref pOrganizationId, ""]]
- !Not [!Equals [!Ref pOrganizationRootId, ""]]
AssertDescription: "Must provide existing AWS Organizations ID and AWS Organizations Root ID"

Resources:
Expand Down

0 comments on commit dd1f12b

Please sign in to comment.