"""Config for dynamo_sync workflow.""" import os environment = os.environ.get('Environment', 'dev') table_throughput_settings = { 'throughput': { 'write': int(os.environ.get('ANALYTICS_SYNC_TABLE_WCU', 5000))}, 'global_indexes': { 'second_id-first_id': { 'write': int(os.environ.get('ANALYTICS_SYNC_INDEX_WCU', 5000))} } } table_normal_throughput_settings = { 'throughput': {'write': 1}, 'global_indexes': { 'second_id-first_id': {'write': 1} } } analytics_metadata_table = os.environ.get( 'ANALYTICS_METADATA_TABLE', 'dev_analytics_metadata') s3_bucket = os.environ.get('S3_UNLOAD_BUCKET', 'dev-cucumbers') s3_unload_path = 's3://{s3_bucket}/dim_dynamo_sync/{model_type}/' sync_from_days_back = int(os.environ.get('SYNC_FROM_DAYS_BACK', 30))