Switch to cognito user/password authentication. Major code refactor - Fix 2
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m25s
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m25s
This commit is contained in:
@@ -152,7 +152,8 @@ class IptvUpdaterStack(Stack):
|
||||
# Adds one or more commands to the userdata object.
|
||||
userdata.add_commands(
|
||||
f'echo "COGNITO_USER_POOL_ID={user_pool.user_pool_id}" >> /etc/environment',
|
||||
f'echo "COGNITO_CLIENT_ID={client.user_pool_client_id}" >> /etc/environment'
|
||||
f'echo "COGNITO_CLIENT_ID={client.user_pool_client_id}" >> /etc/environment',
|
||||
f'echo "COGNITO_CLIENT_SECRET={client.user_pool_client_secret}" >> /etc/environment'
|
||||
)
|
||||
userdata.add_commands(str(userdata_file, 'utf-8'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user