Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Last active June 20, 2021 19:01
Show Gist options
  • Save KyMidd/577a9a43cff6694db912c059bd2d0b4a to your computer and use it in GitHub Desktop.
Save KyMidd/577a9a43cff6694db912c059bd2d0b4a to your computer and use it in GitHub Desktop.
resource "aws_iam_role" "SpokeABuilderExecutionRole" {
name = "SpokeABuilderExecutionRole"
assume_role_policy = jsonencode({
Version = "2012-10-17"
Statement = [
{
Action = "sts:AssumeRole"
Effect = "Allow"
Sid = ""
Principal = {
Service = "ecs-tasks.amazonaws.com"
}
},
]
})
tags = {
Name = "SpokeABuilderExecutionRole"
Terraform = "true"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment