The find_device.py script hard coded the old db credentials to the file. This is definitely not the best practice. I'd suggest we create a config file with credential information on S3, and read the information from the config file every time we need to access it. We can consider moving the credentials to aws system manager's parameter store for easier management in the future if needed.
The find_device.py script hard coded the old db credentials to the file. This is definitely not the best practice. I'd suggest we create a config file with credential information on S3, and read the information from the config file every time we need to access it. We can consider moving the credentials to aws system manager's parameter store for easier management in the future if needed.