Skip to content

Commit d24e104

Browse files
authored
[fix] Replace underscore with dash in SageMaker CodeRepository name given it doesn't support underscore in name. (#20)
1 parent f3b352d commit d24e104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Resources:
132132
SageMakerCodeRepository:
133133
Type: AWS::SageMaker::CodeRepository
134134
Properties:
135-
CodeRepositoryName: !Ref GitHubRepo
135+
CodeRepositoryName: !Join [ "-", !Split [ "_" , !Ref GitHubRepo ] ]
136136
GitConfig:
137137
RepositoryUrl:
138138
Fn::If:

0 commit comments

Comments
 (0)