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

[SFN] Support for Resource Tagging #8990

Merged
merged 1 commit into from Aug 28, 2023
Merged

[SFN] Support for Resource Tagging #8990

merged 1 commit into from Aug 28, 2023

Conversation

MEPalma
Copy link
Contributor

@MEPalma MEPalma commented Aug 25, 2023

Motivation

Adds support for Resource Tagging to Step Functions.

Changes

Added a TagManager to State Machine Revision instances.
Added support for api actions: tag_resource, untag_resource, list_tags_for_resource.

Testing

Added relevant positive and negative snapshot tests tests.aws.services.stepfunctions.v2.test_sfn_api_tagging.TestSnfApiTagging

@MEPalma MEPalma added the semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases label Aug 25, 2023
@MEPalma MEPalma added this to the 2.3 milestone Aug 25, 2023
@MEPalma MEPalma self-assigned this Aug 25, 2023
@coveralls
Copy link

Coverage Status

coverage: 80.68% (-0.05%) from 80.731% when pulling 20c65ad on MEP-sfn-tagging into bc1aa90 on master.

@github-actions
Copy link

LocalStack Community integration with Pro

       2 files         2 suites   1h 26m 33s ⏱️
2 148 tests 1 670 ✔️ 478 💤 0
2 149 runs  1 670 ✔️ 479 💤 0

Results for commit 20c65ad.

Copy link
Member

@dominikschubert dominikschubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for jumping on this so quickly 👍

@@ -65,7 +65,7 @@ def _eval_service_task(self, env: Environment, parameters: dict) -> None:
parameters["MessageBody"] = to_json_str(message_body)

api_action = camel_to_snake_case(self.resource.api_action)
sqs_client = aws_stack.connect_to_service("sqs", config=Config(parameter_validation=False))
sqs_client = connect_externally_to(config=Config(parameter_validation=False)).sqs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases
Projects
None yet
3 participants