// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 resource "random_string" "suffix" { length = 8 lower = true upper = true number = true special = false } resource "aws_iam_role" "replication" { name = "team-s3-bucket-replication-${random_string.suffix.result}" permissions_boundary = "arn:aws:iam::aws:policy/PowerUserAccess" assume_role_policy = <