-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Enhancement]: SageMaker Endpoints: add InputAndOutput
capture options mode
#37330
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
InputAndOutput
capture options mode
It looks like this is already supported here -
and this function is being called from the
|
@aayushsss1 I have tried |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.57.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
We've found that the 'InputAndOutput' argument while documented as supported on the AWS SDK side, it appears to throw Validation Errors in CloudTrail when supplied. The workaround we're applying with success in Terraform is documented below:
This approach of supplying 2x capture_options {} one with Input and the other with Output allows for a workaround of capture_options not accepting an array of options and 'InputAndOutput' not functioning as an argument supplied to AWS. A support ticket was opened with AWS, and the support engineer said they are opening up a documentation update with the service team. When this capture config is supplied the config builds and endpoint is able to inherit the config with Request and Response capture. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
For SageMaker endpoints, data capture can be configured to capture the Input, Output OR both as "InputAndOutput". Currently the provider rejects this option setting for "InputAndOutput" with the error message:
Error: expected data_capture_config.0.capture_options.0.capture_mode to be one of [Input Output], got InputAndOutput
For capture_mode, the aws_sagemaker_endpoint_configuration should accept "Input", "Output" OR "InputAndOutput" as valid values.
Affected Resource(s) and/or Data Source(s)
aws_sagemaker_endpoint_configuration
Potential Terraform Configuration
References
See SageMaker allowed values for capture mode in endpoint configuration at https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CaptureOption.html#sagemaker-Type-CaptureOption-CaptureMode
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: