@@ -19,15 +19,13 @@ Parameters:
19
19
Type : String
20
20
21
21
Resources :
22
- # AWS SAM doesn't support `Transform` in nested templates, we includes all children into main template
23
- # see https://github.com/awslabs/serverless-application-model/issues/90
24
22
# #########################
25
- # SNSStack
23
+ # SNS
26
24
# #########################
27
25
GitHubEventSNSTopic :
28
26
Type : " AWS::SNS::Topic"
29
27
# #########################
30
- # IAMStack
28
+ # IAM
31
29
# #########################
32
30
GitHubIAMUser :
33
31
Type : " AWS::IAM::User"
@@ -44,7 +42,7 @@ Resources:
44
42
Properties :
45
43
UserName : !Ref GitHubIAMUser
46
44
# #########################
47
- # GitHubWebhookStack
45
+ # GitHubWebhook(CustomResource)
48
46
# #########################
49
47
GitHubWebhookCustomResourceRole :
50
48
Type : " AWS::IAM::Role"
@@ -87,7 +85,7 @@ Resources:
87
85
Type : " Custom::GitHubWebhook"
88
86
Properties :
89
87
ServiceToken : !GetAtt GitHubWebhookCustomResource.Arn
90
- # Define all variables to re-create via `make deploy` when parameters have changed
88
+ # Define all variables to re-create GitHub's webhook configuration via `make deploy` when parameters have changed
91
89
GITHUB_TOKEN : !Ref GitHubPersonalAccessToken
92
90
GITHUB_REPOSITORY_URL : !Ref GitHubRepositoryUrl
93
91
GITHUB_TARGET_RESOURCE : !Ref GitHubTargetResource
@@ -96,7 +94,7 @@ Resources:
96
94
SNS_REGION : !Ref "AWS::Region"
97
95
SNS_TOPIC : !Ref GitHubEventSNSTopic
98
96
# #########################
99
- # LambdaStack
97
+ # Lambda (BuildStateNotifier)
100
98
# #########################
101
99
LambdaExecutionRole :
102
100
Type : " AWS::IAM::Role"
0 commit comments