sondehub-infra/iam.tf
Michaela Wheeler 07461c75e5
IAM cleanup ()
Co-authored-by: xss <michaela@michaela.lgbt>
2023-10-23 16:26:28 +11:00

20 lines
458 B
HCL

data "aws_iam_policy_document" "lambda_assume_role_policy" {
statement {
actions = ["sts:AssumeRole"]
principals {
type = "Service"
identifiers = ["lambda.amazonaws.com", "edgelambda.amazonaws.com"]
}
}
}
data "aws_iam_policy_document" "ecs_task_assume_role_policy" {
statement {
actions = ["sts:AssumeRole"]
principals {
type = "Service"
identifiers = ["ecs-tasks.amazonaws.com"]
}
}
}