mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2024-12-23 23:12:27 +00:00
07461c75e5
Co-authored-by: xss <michaela@michaela.lgbt>
20 lines
458 B
HCL
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"]
|
|
}
|
|
}
|
|
}
|