-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
ESM v2: Add EventSourceMappingArn field #11675
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
Conversation
@@ -21,6 +21,6 @@ def snapshot(request, _snapshot_session: SnapshotSession, account_id, region_nam | |||
RegexTransformer(f"arn:{get_partition(region_name)}:", "arn:<partition>:"), priority=2 | |||
) | |||
|
|||
_snapshot_session.add_transformer(SNAPSHOT_BASIC_TRANSFORMER_NEW, priority=2) | |||
_snapshot_session.add_transformer(SNAPSHOT_BASIC_TRANSFORMER_NEW, priority=0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The uuid
of each ESM was being snapshot as a resource
, this priority ordering change fixes that.
0a6579e
to
32951a2
Compare
32951a2
to
54fea06
Compare
336edd5
to
ba5069a
Compare
ba5069a
to
5ad6527
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes looks good, just wondering why the attribute wasn't in the snapshots?
@pinzon The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
Motivation
This PR introduces increases parity with AWS by includng a new field in ESM responses.
Changes
EventSourceMappingArn
field to config:conftest.py
to better cater for this case of multiple UUIDs being snapshot.