Skip to content

Commit

Permalink
fix(cloud-deploy): Allow numbers in iam system-name (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasjo authored Oct 23, 2024
1 parent da7e201 commit 219b804
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud-deploy/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cloud-deploy/src/utils/cloud-deploy.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
"system-name": {
"description": "IAM system name defaults to service name",
"type": "string",
"pattern": "^[a-z-]+$"
"pattern": "^[a-z0-9-]+$"
},
"resources": {
"$ref": "#/$defs/Resources",
Expand Down
1 change: 1 addition & 0 deletions cloud-deploy/test/utils/service-definition.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ labels:
security:
permission-prefix: mye
system-name: test-123
cloud-armor:
policy-name: policy
Expand Down

0 comments on commit 219b804

Please sign in to comment.