Skip to main content
Glama
i-dot-ai
by i-dot-ai
iam.tf901 B
data "aws_iam_policy_document" "ecs_exec_custom_policy" { statement { effect = "Allow" actions = [ "s3:GetObject", ] resources = [ "${module.app_bucket.arn}/app_data/*", ] } statement { effect = "Allow" actions = [ "ssm:GetParameter", "ssm:GetParameters", ] resources = [ "arn:aws:ssm:*:${data.aws_caller_identity.current.account_id}:parameter/${local.name}/env_secrets/*" ] } statement { effect = "Allow" actions = [ "kms:Decrypt", "kms:GenerateDataKey", "kms:DescribeKey", ] resources = [ data.terraform_remote_state.platform.outputs.kms_key_arn, ] } } resource "aws_iam_policy" "ecs_exec_custom_policy" { name = "${local.name}-ecs-custom-exec" description = "ECS task custom policy" policy = data.aws_iam_policy_document.ecs_exec_custom_policy.json }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/i-dot-ai/parliament-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server