mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
* feat(ssm): answer AWS's public Amazon Linux AMI parameters GetParameter, GetParameters and GetParametersByPath resolve the documented /aws/service/ami-amazon-linux-latest/ names from the EC2 image catalog, the way AWS seeds them in every account. They are read-only and belong to no account, so DescribeParameters and the parameter history leave them out. Ported from the SSM half of lex00/floci#116. * fix(ssm): reject reserved parameter names and list public ones under ancestors PutParameter refuses names prefixed with aws or ssm, with or without a leading slash and in any case, with the ValidationException AWS returns. That closes the gap where a stored value could shadow a public AMI parameter. GetParametersByPath applies the same path and Recursive rules to public names as to stored ones, so a recursive query on /aws or /aws/service lists them. * fix(ssm): reserve only the aws and ssm path segments The reserved-name check keyed on a bare prefix, which also refused the names CloudFormation generates for an AWS::SSM::Parameter in a stack whose name starts with aws or ssm. It now rejects a name whose first path segment is aws or ssm, with or without a leading slash and in any case, and accepts names such as ssm-auto-stack-Param-ABC.