[BUG] Getting error "Couldn't get account Id" when trying to assume role into another account #1300
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
YACE version
Config file
Current Behavior
End goal:
Running
yace
inmain_account
, we want to be able to assume a role insecond_account
and get cloudwatch metricsBefore specifying role arns in the config file, we were getting metrics from
main_account
just fine, using the following definition in the helm chart values. This part is workingthe contents of config.yaml working with these values
and the corresponding iam role trust policy
After creating an iam role in
second_account
with the following trust policy, which allows assume_role frommain_account
's cloudwatch exporter role, the container fails to scrape any metrics and spits out errorsthe config.yaml we're using to try and scrape metrics from both
main_account
andsecond_account
Expected Behavior
the IAM role bound to the service account in
main_account
should be able to assume role intosecond_account
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: