write to a bucket in different account from cost and usage report interface in another account

0

Hi , I'm trying to write to A bucket in Account A from the cost and usage report interface service in Account B . i've built an IAM role for cross-account access between two accounts ,but somehow still can't see the bucket name appearing in the dropdown box when i choose were to send these reports in the service. so i wanna make sure is it something can be done ?

1 回答
0

Review this document to check if your cross-account access have been done correctly: https://repost.aws/knowledge-center/cross-account-access-s3

Also make sure the policy in this document gives access to the right bucket in the specified account: https://docs.aws.amazon.com/cur/latest/userguide/cur-s3.html

profile picture
专家
已回答 1 年前
  • hi, thank you for the answer . regarding the policy here : https://docs.aws.amazon.com/cur/latest/userguide/cur-s3.html i added that and i'm able to get cost reports for Account B (where the bucket is located ) , do i need to edit the policy to add also the account ID for account A also ? meaning this policy needs only the Account B ID and i don't need to declare anything in the policy to look at account A .?

  • If you are only interested in the bucket for Account B, then you do not need to add the Account A. Otherwise you should create a similar policy for Account A.

    Hope it helps, and if answer was helpful, please upvote/ accept so also others can benefit :)

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则