Develop Rust Applications using Amazon SQS

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 2

  • @blanky_nap
    @blanky_nap 4 місяці тому +1

    Great tutorial! One question: if my code runs on lambda or in docker on fargate, how to construct the awscfg variable in this case?

    • @codeinrust
      @codeinrust 4 місяці тому +1

      Thanks! If you're running in Lambda or Fargate, using an IAM role, you can create the SdkConfig struct the exact same way. It will automatically locate the credentials. You can leave out the dotenvy part though, as you won't be using a ".env" file anymore.