# DynatraceScripts ## required packages Required python packages are documented in the requirements.txt. Run pip install to install them `pip install -r requirements.txt` *** ## .env file The scripts work with environment variables, to ease this up, create a .env file (this is git ignored as it has sensitive data like tokens) with the following content ```EUPROD_TOKEN_VAR="" NAPROD_TOKEN_VAR="" EUPREPROD_TOKEN_VAR="" NAPREPROD_TOKEN_VAR="" CNPROD_TOKEN_VAR="" CNPREPROD_TOKEN_VAR="" GLOBAL_TOKEN_VAR="" TERRA_TOKEN_VAR="" REPORTING_FOLDER="./Reporting_CSV/" ``` Make sure the reporting folder exists! *** ## createToken.py This script is used to create token for AWS ECS and EKS onboardings ***Currently no parameters are passed through the CLI (needs to be changed)*** To change the token name, change it in line 81 in the script directly ```python tokenname="application_ecs" ```