import_users

command
v1.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MIT Imports: 8 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL