getmoto / moto

A library that allows you to easily mock out tests based on AWS infrastructure.
http://docs.getmoto.org/en/latest/
Apache License 2.0
7.6k stars 2.03k forks source link

Opensearch Ingestion Service Implementation #8160

Open mattheidelbaugh opened 2 days ago

mattheidelbaugh commented 2 days ago

This is my first time implementing a full service so any and all feedback is welcome especially where it relates to the extent of the functionality to mimic. Currently I'm validating that SGs and Subnets exist but nothing else (e.g. opensearch pipeline sink existence, valid pipeline source for using buffer_options, etc.). I'm also creating VPC endpoints when the VpcOptions.VpcEndpointManagement field is set to Service to mirror what AWS does. Let me know if I should forgo that in favor of just sending back a fake vpce id. I am not creating Cloudwatch logs groups if they don't exist although AWS will.

mattheidelbaugh commented 2 days ago

@bblommers For the life of me I can't figure out how to get the arn out of the Tagging APIs based on the botocore service model. If you could take a look that would be very much appreciated