Skip to content

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

1

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 Answer
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

EXPERT

answered 4 years ago

  • 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 :)

  • @Antonio_Lagrotteria can you double check if it is possible or not please? Having the same issue. Would be great to know beforehand if it is even supported or not before diving further into any documentation.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.