Skip to content

Bump @aws-sdk/client-service-quotas from 3.682.0 to 3.712.0 #21

Bump @aws-sdk/client-service-quotas from 3.682.0 to 3.712.0

Bump @aws-sdk/client-service-quotas from 3.682.0 to 3.712.0 #21

name: autoUpdatedManagedIpSets
env:
AWS_REGION: eu-central-1
AWS_ROLE: FirewallFactoryGithubPipelineRole
AWS_ACCOUNT: 859220371210
permissions:
id-token: write
contents: read
# concurrency:
# group: test_envrionment
# cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
branches:
- master
paths:
- 'bin/**/*'
- 'lib/**/*'
- 'package*.json'
jobs:
deploy_production_main:
name: Test and deploy autoUpdatedManagedIpSet
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v4.1.1
- name: 📁 Install Taskfile
run: |
npm install -g @go-task/cli
- name: ☊ Use Node.js
uses: actions/setup-node@v4.0.2
with:
node-version: '21.x'
- name: 💾 Cache Node.js modules
uses: actions/cache@v4.0.2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: 🌐 Install CDK and typescript globally
run: |
npm i -g aws-cdk typescript ts-node @types/node yarn
npm link typescript
- name: 📦 Install Packages
run: |
npm install
- name: 🔑 Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4.0.2
env:
ACCOUNT_ID: ${{ env.AWS_ACCOUNT }}
with:
role-to-assume: arn:aws:iam::${{ env.ACCOUNT_ID }}:role/${{ env.AWS_ROLE }}
aws-region: ${{ env.AWS_REGION }}
role-session-name: GitHubActionsSession
mask-aws-account-id: false
- name: 🚀 Set up QEMU
uses: docker/setup-qemu-action@v3
- name: 🫙 Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.0
- name: 🔥 Deploy AutoUpdatedManagedIpSet to AWS
run: |
export STACK_NAME=AutoUpdatedManagedIpSets
task deploy config=azureIpSet
- name: 🗑️ Remove AutoUpdatedManagedIpSet from AWS
run: |
export STACK_NAME=AutoUpdatedManagedIpSets
task destroy config=azureIpSet