You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enter samInfo in the SBT session I get a scala.MatchError. Did I miss something essential?
sbt:ais-aws-lambda-test> samInfo
[error] scala.MatchError: arn:aws:iam::285842124061:root (of class java.lang.String)
[error] at com.github.dnvriend.sbt.aws.task.Arn$$anonfun$1.apply(IamOperations.scala:22)
[error] at com.github.dnvriend.sbt.aws.task.Arn$$anonfun$1.apply(IamOperations.scala:20)
[error] at com.github.dnvriend.ops.Converter$$anon$1.apply(Converter.scala:19)
[error] at com.github.dnvriend.sbt.aws.task.IamOperations$.getUser(IamOperations.scala:173)
[error] at com.github.dnvriend.sbt.aws.AwsPlugin$$anonfun$projectSettings$15.apply(AwsPlugin.scala:49)
[error] at com.github.dnvriend.sbt.aws.AwsPlugin$$anonfun$projectSettings$15.apply(AwsPlugin.scala:49)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:39)
[error] at sbt.std.Transform$$anon$4.work(System.scala:66)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:263)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.Execute.work(Execute.scala:272)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:263)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:174)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] at java.lang.Thread.run(Thread.java:748)
[error] java.lang.RuntimeException: Build Failed: arn:aws:iam::285842124061:root (of class java.lang.String)
[error] at com.github.dnvriend.ops.BuildFail$BuildFailOpsString.getOrFail(BuildFail.scala:27)
[error] at com.github.dnvriend.sbt.aws.AwsPlugin$$anonfun$projectSettings$16.apply(AwsPlugin.scala:50)
[error] at com.github.dnvriend.sbt.aws.AwsPlugin$$anonfun$projectSettings$16.apply(AwsPlugin.scala:50)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:39)
[error] at sbt.std.Transform$$anon$4.work(System.scala:66)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:263)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.Execute.work(Execute.scala:272)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:263)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:174)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] at java.lang.Thread.run(Thread.java:748)
[error] (iamUserInfo) scala.MatchError: arn:aws:iam::285842124061:root (of class java.lang.String)
[error] (iamCredentialsRegionAndUser) Build Failed: arn:aws:iam::285842124061:root (of class java.lang.String)
[error] Total time: 1 s, completed Oct 8, 2018 3:12:26 PM
The text was updated successfully, but these errors were encountered:
I have tried to follow the instructions from your blogpost at https://binx.io/blog/2018/04/11/a-fast-and-easy-way-to-deploy-scala-based-lambdas-to-aws-using-sbt/
When I enter samInfo in the SBT session I get a scala.MatchError. Did I miss something essential?
The text was updated successfully, but these errors were encountered: