Skip to content

Commit 8e4ed5c

Browse files
committed
CFn: Cosmetic changes
1 parent 06cbc63 commit 8e4ed5c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

sam.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ Parameters:
1919
Type: String
2020

2121
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
2422
##########################
25-
# SNSStack
23+
# SNS
2624
##########################
2725
GitHubEventSNSTopic:
2826
Type: "AWS::SNS::Topic"
2927
##########################
30-
# IAMStack
28+
# IAM
3129
##########################
3230
GitHubIAMUser:
3331
Type: "AWS::IAM::User"
@@ -44,7 +42,7 @@ Resources:
4442
Properties:
4543
UserName: !Ref GitHubIAMUser
4644
##########################
47-
# GitHubWebhookStack
45+
# GitHubWebhook(CustomResource)
4846
##########################
4947
GitHubWebhookCustomResourceRole:
5048
Type: "AWS::IAM::Role"
@@ -87,7 +85,7 @@ Resources:
8785
Type: "Custom::GitHubWebhook"
8886
Properties:
8987
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
9189
GITHUB_TOKEN: !Ref GitHubPersonalAccessToken
9290
GITHUB_REPOSITORY_URL: !Ref GitHubRepositoryUrl
9391
GITHUB_TARGET_RESOURCE: !Ref GitHubTargetResource
@@ -96,7 +94,7 @@ Resources:
9694
SNS_REGION: !Ref "AWS::Region"
9795
SNS_TOPIC: !Ref GitHubEventSNSTopic
9896
##########################
99-
# LambdaStack
97+
# Lambda (BuildStateNotifier)
10098
##########################
10199
LambdaExecutionRole:
102100
Type: "AWS::IAM::Role"

0 commit comments

Comments
 (0)