Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Elastic Beanstack using Assume role #105

Open
Purushotham-grip opened this issue Jul 26, 2023 · 2 comments
Open

Deploy Elastic Beanstack using Assume role #105

Purushotham-grip opened this issue Jul 26, 2023 · 2 comments

Comments

@Purushotham-grip
Copy link

Hi,

Im using below script to Deploy EB using assume role I'm i doing anything wrong

  • name: Deploy to ElasticBeanstalk
    uses: einaregilsson/beanstalk-deploy@v13
    with:
    aws_role_arn: ${{ steps.assume_role.outputs.role_arn }}
    application_name: ${{ github.event.inputs.APPLICATION_NAME }}
    version_label: '${{ steps.extract_branch.outputs.branch }}-${{ steps.format_time.outputs.replaced }}'
    region: ap-south-1
    deployment_package: deploy.zip
@jaggaer-epastoor
Copy link

jaggaer-epastoor commented Nov 7, 2024

@Purushotham-grip , This issue has a solution. I have not verified it yet but someone confirmed it worked for them:
#110

@reubinoff
Copy link

I think you need just to output the AWS credentials after assume Role:

    - name: Configure AWS credentials from Production account
      uses: aws-actions/configure-aws-credentials@v4
      id: creds
      with:
        role-to-assume: ${{ secrets.IAM_ROLE_ARN }}
        aws-region: ${{ env.REGION }}
        role-session-name: DeploySession
        output-credentials: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants