ecs-task-role
dod-iac/ecs-task-role/aws
An IAM role for use as a ECS task role
Usage Creates an IAM role for use as an ECS task role. ``hcl module "ecs_task_role" { source = "dod-iac/ecs-task-role/aws" name = format("app-%s-task-role-%s", var.application, var.environment) tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Testing Run all terratest tests using the terratest script. If using aws-vault, you could use aws-vault exec $AWS_PROFILE -- terratest. The AWS_DEFAULT_REGION environment variable is required by the tests. Use TT_SKIP_DESTROY=1 to not destroy the infrastructure created during the tests. Use TT_VERBOSE=1 to log all tests as they are run. The go test command can be executed directly, too. Terraform Version Terraform 0.13. Pin module version to ~> 1.0.0 . Submit pull-requests to main branch. Terraform 0.
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the AWS IAM role. | required |
| assume_role_policy | string | The assume role policy for the AWS IAM role. If blank, allows ECS tasks in the | "" |
| tags | map(string) | Tags applied to the AWS IAM role. | {} |
arn — The Amazon Resource Name (ARN) of the AWS IAM Role.name — The name of the AWS IAM Role.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,