Skip to content

Instantly share code, notes, and snippets.

@salihgueler
Created July 25, 2022 10:47
Show Gist options
  • Save salihgueler/b1b84526eec5660d071d748bb2b39f2a to your computer and use it in GitHub Desktop.
Save salihgueler/b1b84526eec5660d071d748bb2b39f2a to your computer and use it in GitHub Desktop.
msalihg@ dart_first_amplify_authentication % amplify add auth
Using service: Cognito, provided by: awscloudformation
The current configured provider is Amazon Cognito.
Do you want to use the default authentication and security configuration? Defau
lt configuration
Warning: you will not be able to edit these selections.
How do you want users to be able to sign in? Username
Do you want to configure advanced settings? No, I am done.
✅ Successfully added auth resource dartfirstamplifyautha94862bb locally
✅ Some next steps:
"amplify push" will build all your local backend resources and provision it in the cloud
"amplify publish" will build all your local backend and frontend resources (if you have hosting category added) and provision it in the cloud
msalihg@ dart_first_amplify_authentication % amplify push
⠸ Fetching updates to backend environment: dev from the cloud.⠋ Building resourc✔ Successfully pulled backend environment dev from the cloud.
Current Environment: dev
┌──────────┬──────────────────────────────┬───────────┬───────────────────┐
│ Category │ Resource name │ Operation │ Provider plugin │
├──────────┼──────────────────────────────┼───────────┼───────────────────┤
│ Auth │ dartfirstamplifyautha94862bb │ Create │ awscloudformation │
└──────────┴──────────────────────────────┴───────────┴───────────────────┘
? Are you sure you want to continue? Yes
⠧ Updating resources in the cloud. This may take a few minutes...
...
✔ All resources are updated in the cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment