-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
service/ecsIssues and PRs that pertain to the ecs service.Issues and PRs that pertain to the ecs service.upstreamAddresses functionality related to the cloud provider.Addresses functionality related to the cloud provider.
Description
Terraform Version
Terraform v0.11.11
terraform-aws-provider 1.57.0
Affected Resource(s)
- aws_ecs_service
Terraform Configuration Files
resource "aws_ecs_service" "example" {
tags {
tag1 = "value"
tag2 = "value"
}
}
Output
* aws_ecs_service.example: error tagging ECS Cluster (xxxxxxxx): InvalidParameterException: Long arn format must be used for tagging operations
status code: 400, request id: xxxxxxxxxx
Expected Behavior
would create tags
Actual Behavior
fails with the above message
Steps to Reproduce
- Opt-in for
Log in as root account, and opt in for new ARN and resource ID format.
-
Add tag to an ECS service created before AWS introduced tags on ECS services without the terraform aws_ecs_service module
-
terraform apply
References
okonon, newnakashima and kirbyjsmatthewduren and nolivermke
Metadata
Metadata
Assignees
Labels
service/ecsIssues and PRs that pertain to the ecs service.Issues and PRs that pertain to the ecs service.upstreamAddresses functionality related to the cloud provider.Addresses functionality related to the cloud provider.