Skip to content

Commit 05119e0

Browse files
brianterrysthulb
authored andcommitted
Removes StackID and AWSAccountID validation (#97)
1 parent f62aefc commit 05119e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cfn/event.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// Event base structure, it will be internal to the RPDK.
1515
type event struct {
16-
AWSAccountID string `json:"awsAccountId" validate:"min=12"`
16+
AWSAccountID string `json:"awsAccountId"`
1717
BearerToken string `json:"bearerToken" validate:"nonzero"`
1818
Region string `json:"region" validate:"nonzero"`
1919
Action string `json:"action"`
@@ -22,7 +22,7 @@ type event struct {
2222
ResourceTypeVersion encoding.Float `json:"resourceTypeVersion"`
2323
RequestContext requestContext `json:"requestContext"`
2424
RequestData requestData `json:"requestData"`
25-
StackID string `json:"stackId" validate:"nonzero"`
25+
StackID string `json:"stackId"`
2626

2727
NextToken string
2828
}

0 commit comments

Comments
 (0)