Replies: 1 comment
-
I found the issue. Regions were not matching. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using moto 5 to test EBS snaphosts. In the process I need to test tag creation for the snaphosts. However, I am getting error while creation. If I create the tag within moto, tag is created successfully and assert test passes. Can you please help with this error message?
My code side is very simple that runs in Python 3.9.6. It accepts SnapshotId and tags and creates the tags.
Error I get:
botocore.exceptions.ClientError: An error occurred (InvalidSnapshot.NotFound) when calling the CreateTags operation: None
If I run the exact same command on the moto code, I get assert success:
Response:
[ec2.Tag(resource_id='snap-9a435e77', key='DeleteAfter', value='12312345463')]
Beta Was this translation helpful? Give feedback.
All reactions