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

feat(amplify): Add platform property to Amplify App #24078

Closed
wants to merge 2 commits into from

Conversation

kevinold
Copy link

@kevinold kevinold commented Feb 8, 2023

Adds AppPlatforms enum for WEB, WEB_COMPUTE or WEB_DYNAMIC
Adds platform property to AppProps
Passes platform property to declared Amplify app

Closes #24076.


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

@gitpod-io
Copy link

gitpod-io bot commented Feb 8, 2023

@aws-cdk-automation aws-cdk-automation requested a review from a team February 8, 2023 22:42
@github-actions github-actions bot added feature-request A feature should be added or improved. p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Feb 8, 2023
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

@kevinold kevinold changed the title feat(amplify) Add platform property to Amplify App feat(amplify): Add platform property to Amplify App Feb 8, 2023
@kevinold kevinold force-pushed the kevinold/amplify-add-platform branch from e54c6ee to 2bd1c4f Compare February 8, 2023 22:45
Copy link
Contributor

@peterwoodworth peterwoodworth left a comment

Choose a reason for hiding this comment

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

Hey @kevinold, thanks for the PR, it looks great! We just need some integration tests to verify that these deploy 🙂

Adds AppPlatforms enum for WEB, WEB_COMPUTE or WEB_DYNAMIC
Adds platform property to AppProps
Passes platform property to declared Amplify app

fixes aws#24076
@kevinold kevinold force-pushed the kevinold/amplify-add-platform branch from 2bd1c4f to 99bb439 Compare February 8, 2023 22:48
@kevinold
Copy link
Author

kevinold commented Feb 8, 2023

@peterwoodworth Great, just added 736844e (#24078) but can't figure out how to generate the snapshots. Checked the Contributing doc, but didn't see to help. Can you help?

@aws-cdk-automation
Copy link
Collaborator

The pull request linter fails with the following errors:

❌ Features must contain a change to a README file.
❌ Features must contain a change to an integration test file and the resulting snapshot.

PRs must pass status checks before we can provide a meaningful review.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 736844e
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@TheRealAmazonKendra
Copy link
Contributor

This duplicates work already done in an open PR.

@kevinold
Copy link
Author

kevinold commented Feb 9, 2023

@TheRealAmazonKendra Great! Closing in favor of #23818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(aws-cdk/aws-amplify): (Add Platform property to amplify.App)
4 participants