Skip to content

Commit 0827fc1

Browse files
Merge pull request #90 from narendran1560/topic-release
Update the sagemaker template with custom cost tag
2 parents 6c44d80 + 84153d1 commit 0827fc1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

cft-templates/sagemaker-template-with-url.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Resources:
3636
InstanceType: !Ref NotebookInstanceType
3737
RoleArn: !GetAtt SageMakerRole.Arn
3838
LifecycleConfigName: 'Research-Portal-Setup'
39+
Tags:
40+
- Key: cost_resource
41+
Value: !Sub ${AWS::StackName}
42+
- Key: Name
43+
Value: !Sub ${AWS::StackName}
3944
Outputs:
4045
SageMakerNotebookInstanceARN:
4146
Description: "ARN for the newly created SageMaker Notebook Instance"

dump/standardcatalogitems.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@
258258
"post_provisioning": [],
259259
"checks_before_assigning_product": [],
260260
"checks_after_assigning_product": [],
261-
"permission_required": {}
261+
"permission_required": {},
262+
"cost_resource": true
262263
}
263264
},
264265
{

0 commit comments

Comments
 (0)