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

Functions codegen #13915

Merged
merged 37 commits into from
Sep 19, 2024
Merged

Functions codegen #13915

merged 37 commits into from
Sep 19, 2024

Conversation

bzsurbhi
Copy link

@bzsurbhi bzsurbhi commented Sep 6, 2024

Description of changes

  • Added functions codegen changes

Properties getting added:
export const amplifymigrateecd61fbc = defineFunction({
entry: "./amplifymigrateecd61fbc/src/handler.ts",
name: "amplifymigrateecd61fbc-dev",
timeoutSeconds: 25,
memoryMB: 128,
environment: { ENV: "dev", REGION: "us-west-2" },
runtime: 18
});

  • Also, fixed some Auth codegen bugs related to mfa and userattributes props of auth

Description of how you validated changes

Deployed the changes to sandbox, verified function resource getting created successfully

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Pull request labels are added

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

@bzsurbhi bzsurbhi requested a review from a team as a code owner September 6, 2024 00:21
@bzsurbhi bzsurbhi requested review from abhi7cr and sobolk and removed request for a team September 6, 2024 00:21
@bzsurbhi bzsurbhi requested a review from abhi7cr September 18, 2024 19:16
Copy link
Member

@sobolk sobolk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please run yarn cloud-pr to trigger codebuild job and make sure it passes ?

@bzsurbhi bzsurbhi requested a review from sobolk September 18, 2024 23:28
Comment on lines 236 to 238
// Warnings were encountered during analysis:
//
// src/auth/source_builder.ts:101:3 - (ae-forgotten-export) The symbol "AttributeMappingRule" needs to be exported by the entry point index.d.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix this.

@bzsurbhi bzsurbhi merged commit 42eedbb into aws-amplify:migrations Sep 19, 2024
5 checks passed
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.

3 participants