Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved InvalidParameterException in aws_ecs_service table when listing tags for older services. Closes #2388 #2410

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Feb 11, 2025

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
> select service_name, tags_src, tags from aws_ecs_service;
+-----------------+-------------------------------------------------------------+-----------------------------+
| service_name    | tags_src                                                    | tags                        |
+-----------------+-------------------------------------------------------------+-----------------------------+
| test-53-service | [{"Key":"help","Value":"me"},{"Key":"foo1","Value":"bar1"}] | {"foo1":"bar1","help":"me"} |
+-----------------+-------------------------------------------------------------+-----------------------------+

@ParthaI ParthaI requested a review from misraved February 11, 2025 10:06
@ParthaI ParthaI self-assigned this Feb 11, 2025
@ParthaI ParthaI linked an issue Feb 11, 2025 that may be closed by this pull request
@misraved
Copy link
Contributor

misraved commented Feb 13, 2025

@ParthaI has the arn format changed completely? What happens to the resources that still use the old format?

@ParthaI
Copy link
Contributor Author

ParthaI commented Feb 13, 2025

@misraved,

Yes, the ARN format has changed, and currently, AWS supports both formats, as mentioned in this documentation.

We might need to upgrade the resource, but it's unclear how long AWS will continue supporting the old format.

Tasks launched by an Amazon ECS service can only receive the new ARN and resource ID format if the service was created on or after November 16, 2018, and the user who created the service has opted in to the new format for tasks.

The timeline for the opt-in and opt-out periods for the new Amazon Resource Name (ARN) and resource ID format for Amazon ECS resources ended on April 1, 2021. By default, all accounts are opted in to the new format. All new resources created receive the new format, and you can no longer opt out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tags cannot be fetched for aws_ecs_service table
2 participants