Skip to content

Latest commit

 

History

History

aws-ecs-service-permissions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Requirements

Name Version
terraform >= 1.0
aws >= 4.0, < 5.0

Providers

Name Version
aws >= 4.0, < 5.0

Modules

No modules.

Resources

Name Type
aws_iam_policy.iam_role_attacher resource
aws_iam_role.execution_role resource
aws_iam_role.task_role resource
aws_iam_role_policy.execution_role_secrets resource
aws_iam_role_policy_attachment.ecs_task_execution_role resource
aws_iam_role_policy_attachment.policies resource
aws_iam_policy_document.execution_role_assume data source
aws_iam_policy_document.execution_role_secrets data source
aws_iam_policy_document.iam_role_attacher data source
aws_iam_policy_document.task_role_assume data source

Inputs

Name Description Type Default Required
attached_policies List of IAM policy ARNs to attach to service list(string) [] no
name Name of a service. string n/a yes
secret_arns List of AWS Secret Manager secrets. Specify ARNs of secrets that may be accessed by this service. list(string) [] no

Outputs

Name Description
execution_role_arn n/a
execution_role_id n/a
iam_role_attacher_policy_arn n/a
task_role_arn n/a
task_role_id n/a