-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Feature - Adding basic support for timestream-influxdb #8523
Comments
Currently working on this! |
@bblommers I ran the script/scaffold.py script, and it crashed with an error about 'aws' key errors but it seemed to create most of the files needed to create the mocked service. At the moment, I'm trying to mock a basic test such as
but the test is erroring out the below:
Do you have any ideas what I could be doing wrong in regards to registering the backend?(or if I can provide code segments that might be able to help debug the issue) |
@jflim Can you submit a draft PR with your current changeset? Hard to debug without seeing the code. |
Sure, I can try to push a draft PR. In the meantime, I was able to reproduce on a separate branch. Is this expected?
|
@bpandola @bblommers I was made aware that there was a comment saying that the scaffolding may crash on certain services. I had tried scaffolding on a few other nonimplemented services and did not get this error. Wondering how to proceed in debugging scaffolding or the service backend? |
@jflim This error is likely due to the fact that
You can manually update your Ref: boto/botocore#3028 |
Adding to the aws partition for botocore seemed to work! What changes would I need to make so that timestream-influxdb could work with all moto users? |
@jflim Things should work just fine for moto users. This issue only affects the scaffolding script, as far as I can tell. Or am I missing something? |
You probably also have to specify the regions manually when creating the Backend-class. See TimestreamQuery for an example, that service has the same problem: moto/moto/timestreamquery/models.py Lines 185 to 193 in 8007aef
|
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html
The text was updated successfully, but these errors were encountered: