import_users

command
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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