Switch to cognito user/password authentication. Major code refactor - Fix 3
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m20s

This commit is contained in:
2025-05-16 13:22:10 -05:00
parent 658f7998ef
commit 127d81adac

View File

@@ -153,7 +153,7 @@ class IptvUpdaterStack(Stack):
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_SECRET={client.user_pool_client_secret}" >> /etc/environment'
f'echo "COGNITO_CLIENT_SECRET={client.user_pool_client_secret.plain_text}" >> /etc/environment'
)
userdata.add_commands(str(userdata_file, 'utf-8'))