resource "aws_iam_role" "s3-mybucket-role" { name = "s3-mybucket-role" assume_role_policy = <