diff --git a/aws/components/user/id.ftl b/aws/components/user/id.ftl index 3914dc52..a8a6443a 100644 --- a/aws/components/user/id.ftl +++ b/aws/components/user/id.ftl @@ -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" + } + ] +/] diff --git a/aws/components/user/setup.ftl b/aws/components/user/setup.ftl index 1ee17449..fb641ef9 100644 --- a/aws/components/user/setup.ftl +++ b/aws/components/user/setup.ftl @@ -234,6 +234,10 @@ attributeIfContent( "ManagedPolicyArns", getManagedPoliciesFromSet(policySet) + ) + + attributeIfContent( + "PermissionsBoundary", + (solution["aws:PermissionsBoundaryPolicyArn"])!"" ) outputs=USER_OUTPUT_MAPPINGS tags=getOccurrenceTags(occurrence)