0

There is a lot of pitfalls in such a simple task. I just want to trigger build on commits to master, then just publish result in CodeArtifacts repository.

First problem I can see is that AWS only allows you to have 12-hour credentials. So, you can't fully automate the process, you need to revoke credentials each day manually (probably). Also, it's not completely clear how to publish artifact from Github Actions to AWS, can't find any good tutorial. Maybe it's just npm publish? But then we'll face the problem #1 again.

Tried to accomplish this in CodePipelines, but no luck. There is a lot of steps I don't completely understand.

Andrew
  • 701
  • 1
  • 8
  • 19
  • 1
    https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services – jordanm Oct 17 '22 at 02:39

0 Answers0