You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/sagemaker_model.html.markdown
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,10 +52,10 @@ This resource supports the following arguments:
52
52
*`name` - (Optional) The name of the model (must be unique). If omitted, Terraform will assign a random, unique name.
53
53
*`primary_container` - (Optional) The primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the `container` argument is required. Fields are documented below.
54
54
*`execution_role_arn` - (Required) A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
55
-
*`inference_execution_config` - (Optional) Specifies details of how containers in a multi-container endpoint are called. see[Inference Execution Config](#inference-execution-config).
55
+
*`inference_execution_config` - (Optional) Specifies details of how containers in a multi-container endpoint are called. See[Inference Execution Config](#inference-execution-config).
56
56
*`container` (Optional) - Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
57
57
*`enable_network_isolation` (Optional) - Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
58
-
*`vpc_config` (Optional) - Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
58
+
*`vpc_config` (Optional) - Specifies the VPC that you want your model to connect to. This configuration is used in hosting services and in batch transform. See [VPC Config](#vpc-config).
59
59
*`tags` - (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
60
60
61
61
The `primary_container` and `container` block both support:
@@ -104,6 +104,11 @@ The `primary_container` and `container` block both support:
104
104
105
105
*`mode` - (Required) How containers in a multi-container are run. The following values are valid `Serial` and `Direct`.
106
106
107
+
### VPC Config
108
+
109
+
*`security_group_ids` - (Required) List of security group IDs you want to be applied to your training job or model. Specify the security groups for the VPC that is specified in the Subnets field.
110
+
*`subnets` - (Required) List of subnet IDs in the VPC to which you want to connect your training job or model.
111
+
107
112
## Attribute Reference
108
113
109
114
This resource exports the following attributes in addition to the arguments above:
0 commit comments