Open akirfman opened 7 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Hello, I have just the same issue when I try to deploy an "aws_sagemaker_model" resource from the s3_data_source: 's3://jumpstart-private-cache-prod-eu-west-1/meta-textgeneration/meta-textgeneration-llama-2-7b-f/artifacts/inference-prepack/v1.0.0/'.
Is there any way to accept EULA programmatically?
Hey @akirfman 👋 Thank you for taking the time to raise this! We consider adding additional functionality to an existing resource to be an enhancement rather than a bug. With that in mind, I've made a couple of adjustments to the issue so that whoever looks into this has a better idea of where to start.
@akirfman I find it an amazing coincidence that I stumbled across this issue, while I think we might work for the same employer. 😂 About to send you an email wanting to pick your brain on your work here!
PR #35873 submitted for review.
Encountering same issue, wondering when the updates will be pushed?
Terraform Core Version
1.5.7
AWS Provider Version
5.29.0
Affected Resource(s)
resource: aws_sagemaker_model
Expected Behavior
I'm attempting to create an AWS Sagemaker model resource for one of the Meta Llama2 LLMs. I've captured the model data source and needed env vars from a manually created version of the model through SageMaker Jumpstart and converted them into an aws_sagemaker_model resource.
I would expect to be able to successfully create an instance of the model using this resource following the same pattern/configuration that JumpStart used.
Actual Behavior
When I attempt to create the model in my Terraform apply, I'm presented with an error indicating that model creation failed due to the model's EULA not being accepted.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
The AWS API endpoint for creating a SageMaker model possesses an input for
ModelAccessConfig
underS3DataSource
which allows specification of an AcceptEula boolean value:The documentation for the current (5.29.0 as of creation of this issue) version of the Terraform AWS Provider doesn't indicate support for this input section.
References
AWS Sagemaker Create Model Endpoint Reference:
Would you like to implement a fix?
None