- Follow installations
- Choose Cloud hosting and follow "Installing" and "Initialization" steps
- Define
TF_VAR_client_id
andTF_VAR_client_secret
env vars withclient_id
andclient_secret
values: - Deploy the infrastructure
terraform init; terraform plan; terraform apply --auto-approve
If you have not defined env vars,
client_id
andclient_secret
are prompted
- Fill file
create_users.csv
with users you want to create - Upload file to s3-eventbridge-api-bucket s3 bucket
- Follow logs via Cloudwatch or via CLI with below command:
log_group_name=`aws logs describe-log-groups --profile p_lambda_deployer | jq ".logGroups[].logGroupName" | tr -d '"'` && aws logs tail $log_group_name --profile p_lambda_deployer --follow
- Fill file
delete_users.csv
with ids of users you want to delete - Upload file to s3-eventbridge-api-bucket s3 bucket
- Follow logs via Cloudwatch or via CLI with below command:
log_group_name=`aws logs describe-log-groups --profile p_lambda_deployer | jq ".logGroups[].logGroupName" | tr -d '"'` && aws logs tail $log_group_name --profile p_lambda_deployer --follow
tf destroy