]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for recording EC2 AMI Ids in SSM
authorColin Percival <cperciva@FreeBSD.org>
Fri, 27 Aug 2021 00:54:53 +0000 (17:54 -0700)
committerColin Percival <cperciva@FreeBSD.org>
Sat, 11 Sep 2021 01:31:20 +0000 (18:31 -0700)
commitbfe72296190cca25815be1823e98d560fdede061
tree4f1a567bdd4a0b480338f0aeb686fe29bf3f04db
parenta37c697b8da924794157b5e596bd8127204a5922
Add support for recording EC2 AMI Ids in SSM

If SSMPREFIX is specified, AMI Ids will be recorded in the SSM
Parameter Store under the name
  ${SSMPREFIX}/${ARCH}/${FLAVOUR}/${ROOTFS}/${REVISION}/${BRANCH}
where ARCH is "amd64" or "arm64", FLAVOUR is "base" (but may have
other options in the future), ROOTFS is "ufs" (but may have other
options in the future), and REVISION and BRANCH have their normal
meanings.

FreeBSD will be using the public prefix "/aws/service/freebsd",
resulting in SSM Parameter names which look like
  /aws/service/freebsd/amd64/base/ufs/14.0/CURRENT

Relnotes: yes
Sponsored by: https://patreon.com/cperciva
MFC after: 2 weeks

(cherry picked from commit c5af0ac1a732491aab789dda0da368ff48497871)
release/Makefile.ec2