diff --git a/infrastructure/stack.py b/infrastructure/stack.py index dcc4139..468bbe5 100644 --- a/infrastructure/stack.py +++ b/infrastructure/stack.py @@ -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'))