diff --git a/.github/workflows/cloudformation-ci.yml b/.github/workflows/cloudformation-ci.yml index 8b1435083a..cf92a902c9 100644 --- a/.github/workflows/cloudformation-ci.yml +++ b/.github/workflows/cloudformation-ci.yml @@ -50,7 +50,7 @@ jobs: poetry install - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/cnvm-ci.yml b/.github/workflows/cnvm-ci.yml index 3f558bb74b..b7b72b4ea5 100644 --- a/.github/workflows/cnvm-ci.yml +++ b/.github/workflows/cnvm-ci.yml @@ -30,7 +30,7 @@ jobs: poetry --version - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/destroy-environment.yml b/.github/workflows/destroy-environment.yml index aef48274cf..0938a1b3be 100644 --- a/.github/workflows/destroy-environment.yml +++ b/.github/workflows/destroy-environment.yml @@ -49,7 +49,7 @@ jobs: echo "TF_VAR_ec_api_key=$ec_api_key" >> $GITHUB_ENV - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/eks-ci.yml b/.github/workflows/eks-ci.yml index 42ce859afd..d9c5cc4d3c 100644 --- a/.github/workflows/eks-ci.yml +++ b/.github/workflows/eks-ci.yml @@ -130,7 +130,7 @@ jobs: key: ${{ runner.os }}-dockers-cache-${{ env.CONTAINER_SUFFIX }} - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/publish-cloudformation.yml b/.github/workflows/publish-cloudformation.yml index e5fe5e6eaf..afcf859793 100644 --- a/.github/workflows/publish-cloudformation.yml +++ b/.github/workflows/publish-cloudformation.yml @@ -16,12 +16,5 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.CSPM_CFT_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.CSPM_CFT_SECRET_ACCESS_KEY }} - aws-region: us-east-2 - - name: Upload to S3 if elastic-agent CloudFormation template has changed - run: scripts/publish_ft.sh + run: scripts/publish_cft.sh diff --git a/.github/workflows/publish-test-results.yml b/.github/workflows/publish-test-results.yml index 23ea74a68c..06df8c76da 100644 --- a/.github/workflows/publish-test-results.yml +++ b/.github/workflows/publish-test-results.yml @@ -72,7 +72,7 @@ jobs: ignoreMissingResults: true - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/test-environment.yml b/.github/workflows/test-environment.yml index ba7dd16106..0479497cf1 100644 --- a/.github/workflows/test-environment.yml +++ b/.github/workflows/test-environment.yml @@ -117,7 +117,7 @@ jobs: poetry install - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}