GitHub Actions for CloudFormation Template Validation and Deployment

name: Ant Media Server Cloudformation Deployment on: schedule: – cron: ‘0 0 * * 1’ jobs: deploy_cf_template: runs-on: ubuntu-latest env: AWS_REGION: eu-west-2 STACK_NAME: cf-automation-test-stack ORIGIN_INSTANCE_TYPE: t2.large EDGE_INSTANCE_TYPE: t2.large MONGO_INSTANCE_TYPE: c5.large TEMPLATE_FILE: ${{ github.workspace }}/cloudformation/antmedia-aws-autoscale-template.yaml steps: – name: Checkout Repository uses: actions/checkout@v2 – name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ …

Continue reading