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/cdktf/python/r/sagemaker_image_version.html.markdown
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -52,14 +52,14 @@ This resource supports the following arguments:
52
52
53
53
This resource exports the following attributes in addition to the arguments above:
54
54
55
-
*`id` - The name of the Image.
55
+
*`id` - The image name and version in the format `name:version`.
56
56
*`arn` - The Amazon Resource Name (ARN) assigned by AWS to this Image Version.
57
57
*`version`- The version of the image. If not specified, the latest version is described.
58
58
*`container_image` - The registry path of the container image that contains this image version.
59
59
60
60
## Import
61
61
62
-
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import SageMaker AI Image Versions using the `name`. For example:
62
+
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import SageMaker AI Image Versions using the `name:version` format. For example:
63
63
64
64
```python
65
65
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
@@ -73,13 +73,15 @@ from imports.aws.sagemaker_image_version import SagemakerImageVersion
For backward compatibility, importing using just the image name is still supported, but the resource ID will be automatically updated to the `name:version` format after import.
Copy file name to clipboardExpand all lines: website/docs/cdktf/typescript/r/sagemaker_image_version.html.markdown
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -55,14 +55,14 @@ This resource supports the following arguments:
55
55
56
56
This resource exports the following attributes in addition to the arguments above:
57
57
58
-
*`id` - The name of the Image.
58
+
*`id` - The image name and version in the format `name:version`.
59
59
*`arn` - The Amazon Resource Name (ARN) assigned by AWS to this Image Version.
60
60
*`version`- The version of the image. If not specified, the latest version is described.
61
61
*`containerImage` - The registry path of the container image that contains this image version.
62
62
63
63
## Import
64
64
65
-
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import SageMaker AI Image Versions using the `name`. For example:
65
+
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import SageMaker AI Image Versions using the `name:version` format. For example:
66
66
67
67
```typescript
68
68
// DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
@@ -79,17 +79,19 @@ class MyConvertedCode extends TerraformStack {
79
79
SagemakerImageVersion.generateConfigForImport(
80
80
this,
81
81
"testImage",
82
-
"my-code-repo"
82
+
"my-image:1"
83
83
);
84
84
}
85
85
}
86
86
87
87
```
88
88
89
-
Using `terraform import`, import SageMaker AI Image Versions using the `name`. For example:
89
+
Using `terraform import`, import SageMaker AI Image Versions using the `name:version` format. For example:
For backward compatibility, importing using just the image name is still supported, but the resource ID will be automatically updated to the `name:version` format after import.
Copy file name to clipboardExpand all lines: website/docs/r/sagemaker_image_version.html.markdown
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -39,24 +39,26 @@ This resource supports the following arguments:
39
39
40
40
This resource exports the following attributes in addition to the arguments above:
41
41
42
-
*`id` - The name of the Image.
42
+
*`id` - The image name and version in the format `name:version`.
43
43
*`arn` - The Amazon Resource Name (ARN) assigned by AWS to this Image Version.
44
44
*`version`- The version of the image. If not specified, the latest version is described.
45
45
*`container_image` - The registry path of the container image that contains this image version.
46
46
47
47
## Import
48
48
49
-
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import SageMaker AI Image Versions using the `name`. For example:
49
+
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import SageMaker AI Image Versions using the `name:version` format. For example:
50
50
51
51
```terraform
52
52
import {
53
53
to = aws_sagemaker_image_version.test_image
54
-
id = "my-code-repo"
54
+
id = "my-image:1"
55
55
}
56
56
```
57
57
58
-
Using `terraform import`, import SageMaker AI Image Versions using the `name`. For example:
58
+
Using `terraform import`, import SageMaker AI Image Versions using the `name:version` format. For example:
For backward compatibility, importing using just the image name is still supported, but the resource ID will be automatically updated to the `name:version` format after import.
0 commit comments