Skip to content

Application Auto Scaling: tag_resource(), untag_resource() and list_tags_for_resource() - #10559

Open
KshitijKasodkar wants to merge 1 commit into
getmoto:masterfrom
KshitijKasodkar:application-autoscaling-tagging
Open

KshitijKasodkar wants to merge 1 commit into
getmoto:masterfrom
KshitijKasodkar:application-autoscaling-tagging

Conversation

@KshitijKasodkar

Copy link
Copy Markdown

Implements tagging for Application Auto Scaling scalable targets:

  • tag_resource(), untag_resource() and list_tags_for_resource()
  • register_scalable_target() now accepts the Tags parameter instead of ignoring it
  • ResourceNotFoundException for an unknown ARN, and TooManyTagsException above the 50 tag limit
  • deregister_scalable_target() removes the target's tags
  • The backend uses TaggableResourcesMixin, so scalable targets also work with the Resource Groups Tagging API (get_resources, tag_resources, untag_resources)

Tests are in tests/test_applicationautoscaling/test_applicationautoscaling_tagging.py, and I updated IMPLEMENTATION_COVERAGE.md and the service docs.

Tested locally: the Application Auto Scaling and Resource Groups Tagging API test suites pass, in both decorator and server mode. make lint (ruff and mypy) passes.

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.

1 participant