W3cubDocs

/Terraform

Data Source: aws_ecs_service

The ECS Service data source allows access to details of a specific Service within a AWS ECS Cluster.

Example Usage

data "aws_ecs_service" "example" {
  service_name = "example"
  cluster_arn  = "${data.aws_ecs_cluster.example.arn}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/ecs_service.html