Difference between revisions of "Ecs-tasks.amazonaws.com"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
resource "[[aws_iam_role]]" "ecs_task_role" {
 
  name              = "your-ecs-task-role"
 
  [[assume_role_policy]] = <<-EOF
 
  {
 
    "Version": "2012-10-17",
 
    "Statement": [
 
      {
 
        "Sid": "",
 
        "Effect": "Allow",
 
        "Principal": {
 
          "Service": "ecs-tasks.amazonaws.com"
 
        },
 
        "Action": [
 
          "[[sts:AssumeRole]]"
 
        ]
 
      }
 
    ]
 
  }
 
  EOF
 
}
 
  
 +
{{aws_iam_role ecs_task_role}}
 +
 +
 +
 +
[[ECS execution policy]]
  
  
 
{{aws_iam_role}}
 
{{aws_iam_role}}

Latest revision as of 15:47, 29 May 2023

Advertising: