-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-amplifyRelated to AWS AmplifyRelated to AWS AmplifybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortguidanceQuestion that needs advice or information.Question that needs advice or information.in-progressThis issue is being actively worked on.This issue is being actively worked on.p2
Description
❓ General Issue
The Question
Hello,
With the introduction of the Amplify constructors (App, Branch, Domain), I updated my code from CfnApp to App.
I'm facing a problem with the accessToken and oauthToken parameters, they are now mandatory if you connect to a repository.
I understand this behavior when you connect to a 3rd party source provider like Github, Gitlab but what about the case of CodeCommit ?
My deployment used to work with CfnApp connected to a CodeCommit repository and no token as parameters.
Best regards,
Environment
- CDK CLI Version: 1.30.0
- Module Version: 1.30.0
- OS: OSX Catalina
- Language: TypeScript
Other information
Related code from app.ts
if (props.repository && !props.accessToken && !props.oauthToken) { throw new Error('EitheraccessTokenoroauthToken must be specified'); }
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-amplifyRelated to AWS AmplifyRelated to AWS AmplifybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortguidanceQuestion that needs advice or information.Question that needs advice or information.in-progressThis issue is being actively worked on.This issue is being actively worked on.p2