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
Support Condition
attribute on resources
#8208
Comments
@glb great thanks for pointing that. Indeed we missed that, as we were relying on https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-product-attribute-reference.html which doesn't mention It's a pity there's no good source of information which would list all possible top level resources properties. Anyway PR with a fix is welcome! |
@glb I take you mean that it's missing here:
Looking forward for PR, thank you! |
Use case description
#8139 introduced a schema for AWS Resources. It didn't include the
Condition
resource attribute.Similarly, #7352 introduced
resources.extensions
without support for theCondition
attribute.reference
Proposed solution
Extend the schema for resources and update
mergeCustomProviderResources.js
to support extending framework-created resources to set theCondition
property.serverless/lib/plugins/aws/package/lib/mergeCustomProviderResources.js
Line 37 in d9b91e9
The text was updated successfully, but these errors were encountered: