-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make packages baked into images by Amigo visible to the service catalogue #1333
Conversation
16eaedf
to
22cb7f1
Compare
cc8f2a9
to
ef319d1
Compare
Should we also add the |
const packagesBucketName = new GuStringParameter( | ||
scope, | ||
'packagesBucketNameParam', | ||
{ | ||
fromSSM: true, | ||
default: `/${stage}/deploy/amigo/amigo.data.bucket`, | ||
}, | ||
).valueAsString; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who creates/owns this SSM Parameter? Could it be created by AMIgo, as it creates the bucket?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's created by Amigo as it pre-exists this integration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Ran the import process manually and it appears to have worked. Prod Table has data and no errors in log. |
Purpose
This PR makes a new table available to the service catalogue,
amigo_bake_packages
. This table will tell us at a glance what packages are installed on which Amigo bakes, and in conjunction with other tables in the catalogue will tell us what packages are installed on which EC2 instances and in which AWS accounts.Implementation
We add a new cloudformed task definition to ECS to run a CloudQuery job. The CQ job fetches data from the Amigo Dynamo DB tables and Amigo packagelist S3 objects and stores them in the new service catalogue table on a daily schedule.
The CQ job makes use of our new custom image package source plugin.
Testing
Tested on Code environment where the new task has run successfully and created the new table populated correctly with Code Amigo data.