Skip to content
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

fix: Allow Qualifier to be defined with Id in Serverless Connectors #2768

Merged
merged 4 commits into from
Jan 6, 2023

Conversation

aaythapa
Copy link
Contributor

@aaythapa aaythapa commented Jan 5, 2023

Issue #, if available

Description of changes

Right now if a user defines a Source of a connector using 'Id' then they can't add any other ResourceReference properties since most of the properties can be inferred if you have the ID. 'Qualifier' isn't one of them so users should be able to combine 'Id' and 'Qualifier'.

This change is also necessary for embedded connectors since the Source will defined using 'Id' and we want users to be able to define 'Qualifiers' in the embedded connectors.

Description of how you validated changes

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aaythapa aaythapa marked this pull request as ready for review January 5, 2023 19:40
@aaythapa aaythapa requested a review from a team as a code owner January 5, 2023 19:40
@aaythapa aaythapa requested review from aahung and awood45 January 6, 2023 17:35
@aaythapa aaythapa merged commit aace39d into aws:develop Jan 6, 2023
@aaythapa aaythapa changed the title Allow Qualifier to be defined with Id in Serverless Connectors fix: Allow Qualifier to be defined with Id in Serverless Connectors Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants