Sam Hulick
08/06/2021, 2:34 AMFrank
Sam Hulick
08/06/2021, 3:05 AMFrank
Sam Hulick
08/06/2021, 4:27 PM@aws-sdk/client-ssm
.. which seems like it could work. I mean, using it at deploy time rather than runtime. but I don’t think I can tell the SSM client to use a different AWS accountFrank
Sam Hulick
08/06/2021, 4:40 PMaccountId
is not an option when instantiating the SSM clientSam Hulick
08/06/2021, 5:58 PMSam Hulick
08/06/2021, 5:59 PMFrank
thdxr
08/06/2021, 6:38 PMSam Hulick
08/06/2021, 6:39 PMSam Hulick
08/06/2021, 6:40 PMAssumeRole
in the SDK to assume a primary account role (to get SSM params), then use the returned credentials to instantiate the SSM client. neat stuff. I’d actually never used AssumeRole
before