Skip to content

Commit 5a29b9f

Browse files
committed
More naming fixes and attempting to use update for md
1 parent 17b09f6 commit 5a29b9f

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/develop.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,14 +324,21 @@ jobs:
324324
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
325325
aws-region: us-east-1
326326

327-
- name: Create change set for markdown testing
328-
id: create-markdown-cs
327+
- name: Create initial stack for markdown testing
329328
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0-beta
330329
with:
331330
name: test-markdown-${{ github.run_number }}
332331
template: markdown-test-template.yaml
333332
parameter-overrides: "Environment=test"
334333

334+
- name: Update stack to generate markdown output
335+
id: create-markdown-cs
336+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0-beta
337+
with:
338+
name: test-markdown-${{ github.run_number }}
339+
template: markdown-test-template.yaml
340+
parameter-overrides: "Environment=gamma" # Change parameter to trigger update
341+
335342
- name: Verify markdown output format
336343
run: |
337344
echo "Markdown Output:"

event-streaming-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Resources:
2727
EventTestFunction:
2828
Type: AWS::Lambda::Function
2929
Properties:
30-
FunctionName: !Sub "event-test-${Environment}-${AWS::AccountId}"
30+
FunctionName: !Sub "event-test-${Environment}-${AWS::StackName}"
3131
Runtime: python3.9
3232
Handler: index.handler
3333
Role: !GetAtt EventTestRole.Arn

0 commit comments

Comments
 (0)