Though Amazon has protection against confused deputies for Principals , even within an account (every principal has a unique ID, and is account scoped), it doesn't have the same for Resources.
And s3 buckets are not scoped to an account and their ARN is global and doesn't contain the account id.
For the same reason i advice anybody to always use random suffixes (easily done in Terraform with name_prefix) when generating bucket names.
And s3 buckets are not scoped to an account and their ARN is global and doesn't contain the account id.
For the same reason i advice anybody to always use random suffixes (easily done in Terraform with name_prefix) when generating bucket names.