-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
IaC: Update CatalogPlugin class and common catalog plugins logic #13184
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
Conversation
88b7da3 to
b1bbde2
Compare
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.
LGTM, I pushed a change to fix the CFN catalog as it was overriding the previous entries, and added typing
Very nice work, this looks really nice 🚀
|
|
||
| @staticmethod | ||
| def get_cfn_resources_catalog(cloudformation_resources: dict): | ||
| def _get_cfn_resources_catalog(cloudformation_resources: dict): |
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.
nit: we're missing return types
Motivation
This is a companion branch, the changes in this PR are primarily needed for the pro catalog.
The logic to retrieve CloudFormation resources available at runtime has been moved to
CatalogPlugin, renamed private methods for better readability, added new stateCloudFormationResourcesSupportAtRuntime.NOT_IMPLEMENTEDChanges
CatalogPluginget_aws_services_at_runtimeis_pro_resourceto theget_cloudformation_resource_status, this logic is needed in pro catalog