resource "aws_iam_role_policy_attachment" "sme-stage-origin-dx3-policy-attachment" {
  role       = aws_iam_role.sme-stage-origin-dx3.name
  policy_arn = "arn:aws:iam::${var.account_id}:policy/sme-stage-origin-dx3-s3-access"
}

resource "aws_iam_user_policy_attachment" "msrvd-contracts-agreements-policy-attachment" {
  user       = aws_iam_user.msrvd-contracts-agreements.name
  policy_arn = aws_iam_policy.s3-mediaservices-qa-access-policy.arn
}

resource "aws_iam_user_policy_attachment" "msrvd-backend-services-policy-attachment" {
  user       = aws_iam_user.msrvd-backend-services.name
  policy_arn = aws_iam_policy.s3-mediaservices-qa-access-policy.arn
}
