Skip to content

Commit

Permalink
Merge branch 'master' into fix/ssh-key-env-lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
roleyfoley authored Feb 7, 2024
2 parents 60fae60 + 550b0b7 commit ffd9d70
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions aws/components/user/id.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@
AWS_TRANSFER_SERVICE
]
/]


[@addResourceGroupAttributeValues
type=USER_COMPONENT_TYPE
provider=AWS_PROVIDER
extensions=[
{
"Names" : "PermissionsBoundaryPolicyArn",
"Types": STRING_TYPE,
"Description": "The Arn of a Permissions Boundary Policy Arn"
}
]
/]
4 changes: 4 additions & 0 deletions aws/components/user/setup.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@
attributeIfContent(
"ManagedPolicyArns",
getManagedPoliciesFromSet(policySet)
) +
attributeIfContent(
"PermissionsBoundary",
(solution["aws:PermissionsBoundaryPolicyArn"])!""
)
outputs=USER_OUTPUT_MAPPINGS
tags=getOccurrenceTags(occurrence)
Expand Down

0 comments on commit ffd9d70

Please sign in to comment.