Closed jkubajek closed 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
Hi, there is an open PR to support this https://github.com/hashicorp/terraform-provider-aws/pull/31398
This functionality has been released in v5.1.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!
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Use Case
I would like to set-up the SageMaker server-less inference instance and I would like to specify the
ProvisionedConcurrency
attribute. Here you can find an official blog post from AWS on how to set-upProvisionedConcurrency
manually - https://aws.amazon.com/blogs/machine-learning/announcing-provisioned-concurrency-for-amazon-sagemaker-serverless-inference/Current situation
Currently, Terraform in the
serverless_config
allows to specify onlymax_concurrency
andmemory_size_in_mb
. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sagemaker_endpoint_configuration#serverless_configProposal
I would like to have additional optional field in the
serverless_config
calledprovisioned_concurrency
which would allow me to specify theProvisionedConcurrency
in the configuration ofSageMaker
.Proposed changes
Below I put the minimal modification of the
terraform-provider-aws/internal/service/sagemaker /endpoint_configuration.go
. I am only not sure how to set default value ofprovisioned_concurrency
to0
, so that current config would provide the same output as so far. There should be also a verification on whether theprovisioned_concurrency
is not greater thatmax_concurrency
.Lines 325 and 442
Line 904
Line 1022
Affected Resource(s) and/or Data Source(s)
No response
Potential Terraform Configuration
References
https://aws.amazon.com/blogs/machine-learning/announcing-provisioned-concurrency-for-amazon-sagemaker-serverless-inference/
Would you like to implement a fix?
None