# README
Terraform AWS Provider ECS Package
This area is primarily for AWS provider contributors and maintainers. For information on using Terraform and the AWS provider, see the links below.
Handy Links
- Find out about contributing to the AWS provider!
- AWS Provider Docs: Home
- AWS Provider Docs: One of the ECS resources
- AWS Docs: AWS SDK for Go ECS
# Functions
ContainerDefinitionsAreEquivalent determines equality between two ECS container definition JSON strings Note: This function will be moved out of the aws package in the future.
@SDKDataSource("aws_ecs_cluster").
@SDKDataSource("aws_ecs_container_definition").
@SDKDataSource("aws_ecs_service").
@SDKDataSource("aws_ecs_task_definition").
@SDKDataSource("aws_ecs_task_execution").
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetClusterNameFromARN parses a cluster name from a fully qualified ARN
Expects an ECS cluster ARN:
arn:aws:ecs:us-west-2:0123456789:cluster/my-cluster.
GetRoleNameFromARN parses a role name from a fully qualified ARN
When providing a role name with a path, it must be prefixed with the full path including a leading `/`.
GetTag fetches an individual ecs service tag for a resource.
GetTagsIn returns ecs service tags from Context.
KeyValueTags creates tftags.KeyValueTags from ecs service tags.
ListTags lists ecs service tags.
@SDKResource("aws_ecs_account_setting_default").
@SDKResource("aws_ecs_capacity_provider", name="Capacity Provider") @Tags(identifierAttribute="id").
@SDKResource("aws_ecs_cluster", name="Cluster") @Tags(identifierAttribute="id").
@SDKResource("aws_ecs_cluster_capacity_providers").
@SDKResource("aws_ecs_service", name="Service") @Tags(identifierAttribute="id").
@SDKResource("aws_ecs_tag").
@SDKResource("aws_ecs_task_definition", name="Task Definition") @Tags(identifierAttribute="arn").
@SDKResource("aws_ecs_task_set", name="Task Set") @Tags(identifierAttribute="arn").
SetTagsOut sets ecs service tags in Context.
StripRevision strips the trailing revision number from a task definition ARN
Invalid ARNs will return an empty string.
Tags returns ecs service tags.
No description provided by the author
UpdateTags updates ecs service tags.
No description provided by the author
# Constants
No description provided by the author
# Variables
No description provided by the author