Doc-updates in the md files (#13) #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy AWS Unified Firehose | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v3 | |
with: | |
role-to-assume: ${{ secrets.AWS_SAR_PUBLISHER_ROLE }} | |
aws-region: us-east-2 | |
- name: Install AWS SAM CLI | |
run: | | |
pip install aws-sam-cli | |
- name: Build SAM Application | |
run: sam build --template-file firehose-template.yaml --region us-east-2 | |
- name: Package SAM Application | |
run: sam package --s3-bucket unified-lambda-serverless-1 --output-template-file firehose-template.yaml --region us-east-2 | |
- name: Upload CloudFormation Template to S3 | |
run: aws s3 cp firehose-template.yaml s3://unified-lambda-serverless-1/firehose-template.yaml |