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
전문가
답변함 일 년 전
  • 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 :)

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠