Hey Cam
I tried with the default mode set for AWS auth. The cli role I am using on my local workstation has Admin access to the account so I am pretty sure nothing is wrong in IAM permissions.
I am getting this error while launching the app.
[0] Files successfully emitted, waiting for typecheck results...
[0] Issues checking in progress...
[0] Proxy error: Could not proxy request /api/regions/emissions-factors from localhost:3000 to
http://localhost:4000.
[0] See
https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
[0]
[0] Proxy error: Could not proxy request /api/footprint?start=2021-02-16&end=2022-02-16&ignoreCache=false from localhost:3000 to
http://localhost:4000.
[0] See
https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
[0]
[0] No issues found.
[1] 2022-02-16T15:01:57.644Z [server] info: Cloud Carbon Footprint Server listening at
http://localhost:4000
Here is a snapshot of my config (masking sensitive info with 'x')
AWS_USE_BILLING_DATA=true
AWS_BILLING_ACCOUNT_ID=093xxxxxxxxxx
AWS_BILLING_ACCOUNT_NAME=xxxxxxxxxxxx
AWS_ATHENA_REGION=us-west-2
AWS_ATHENA_DB_NAME=athenacurcfn_vtharyani_cu_report
AWS_ATHENA_DB_TABLE=AWSCURReportStatusTable
AWS_ATHENA_QUERY_RESULT_LOCATION=s3://xxxxxxxxx
AWS_AUTH_MODE=default