Skip to content

Commit

Permalink
Added AWS credentials setup and automation checkout steps
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Aug 27, 2024
1 parent 1d84840 commit 40318eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/Test_installation_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,17 @@ jobs:
- name: Install Ansible
run: sudo apt-get update && sudo apt-add-repository ppa:ansible/ansible && sudo apt install -y ansible

- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_IAM_ROLE }}
role-session-name: "${{ env.SESSION_NAME }}"
aws-region: "${{ env.REGION }}"

- name: Checkout wazuh/wazuh-automation repository
uses: actions/checkout@v4
with:
repository: wazuh/wazuh-automation
ref: ${{ inputs.AUTOMATION_REFERENCE }}
token: ${{ secrets.GH_CLONE_TOKEN }}

0 comments on commit 40318eb

Please sign in to comment.