command
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Nov 20, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Import users & groups
Import users and groups to Cognito from S3.
Getting started
Run go run scripts/import_users/import_users.go
Dependencies
No further dependencies other than following configuration.
Configuration
| Environment variable |
Description |
| GROUPS_FILENAME |
Groups S3 backup filename |
| GROUPUSERS_FILENAME |
User groups S3 backup filename |
| FILENAME |
User S3 backup filename |
| S3_BUCKET |
S3 bucket name |
| S3_BASE_DIR |
S3 backup DIR |
| S3_REGION |
S3 region name |
| USER_POOL_ID |
Cognito user pool id |
| MESSAGE_ACTION |
Set to RESEND for existing user, keep empty for new user or set to SUPPRESS if you do not want to send any emails out to users |
| AWS_PROFILE |
Local aws profile for the environment (eg. dp-sandbox or dp-prod) |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.