Skip to content

Commit

Permalink
Merge pull request #21 from jplock/jp-fixes
Browse files Browse the repository at this point in the history
[fix] fix references
  • Loading branch information
jplock authored Feb 13, 2025
2 parents dd1f12b + 9faaebe commit 85c0d06
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,10 @@ Resources:
Description: "DO NOT DELETE - Organization Activation Function"
Environment:
Variables:
ROOT_ID: !GetAtt rOrganization.RootId
ROOT_ID: !If
- cHasOrganizationRootId
- !Ref pOrganizationRootId
- !GetAtt rOrganization.RootId
Handler: index.handler
MemorySize: 1024 # megabytes
PropagateTags: true
Expand Down Expand Up @@ -737,7 +740,10 @@ Resources:
StackInstancesGroup:
- DeploymentTargets:
OrganizationalUnitIds:
- !GetAtt rOrganization.RootId
- !If
- cHasOrganizationRootId
- !Ref pOrganizationRootId
- !GetAtt rOrganization.RootId
Regions:
- !Ref "AWS::Region" # single region only for the IAM roles
StackSetName: AWSPlatform-BASELINE-ROLES
Expand Down

0 comments on commit 85c0d06

Please sign in to comment.