Open
Description
When using:
//> using scala "3.4.2"
//> using options -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using dep "org.virtuslab::besom-core:0.3.2"
//> using dep org.virtuslab::besom-aws:6.39.0-core.0.3
@main def main = Pulumi.run:
Stack(
aws.route53
.getZone(aws.route53.GetZoneArgs(name = "example.com."))
.map(_.zoneId)
)
I'm getting following error.
Exception in thread "main" besom.internal.AggregatedDecodingError: Decoding Errors [3]:
aws:route53/getZone:getZone().linkedServiceDescription: Encountered an error - possible secret - Known(Set(),false,Some(Value(NullValue(NULL_VALUE),UnknownFieldSet(Map()))))
aws:route53/getZone:getZone().linkedServicePrincipal: Encountered an error - possible secret - Known(Set(),false,Some(Value(NullValue(NULL_VALUE),UnknownFieldSet(Map()))))
aws:route53/getZone:getZone().vpcId: Encountered an error - possible secret - Known(Set(),false,Some(Value(NullValue(NULL_VALUE),UnknownFieldSet(Map()))))
(with aggregate stack trace)
at besom.internal.AggregatedDecodingError$.apply(codecs.scala:99)
at besom.internal.ResourceOps.decodeResponse$1$$anonfun$1(ResourceOps.scala:91)
at besom.internal.Result.flatMap$$anonfun$1(Result.scala:166)
at besom.internal.Result.runM$$anonfun$7(Result.scala:273)
at besom.internal.Runtime.flatMapBothM$$anonfun$1$$anonfun$1(Result.scala:118)
at besom.internal.FutureRuntime.flatMapBoth$$anonfun$1(Result.scala:404)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:477)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: besom.internal.DecodingError: [aws:route53/getZone:getZone().linkedServiceDescription] aws:route53/getZone:getZone().linkedServiceDescription: Encountered an error - possible secret - Known(Set(),false,Some(Value(NullValue(NULL_VALUE),UnknownFieldSet(Map()))))
at besom.internal.DecodingError$.apply(codecs.scala:80)
at besom.internal.Decoder.decode$$anonfun$1$$anonfun$2(codecs.scala:132)
at besom.util.NonEmptyVector.map(Validated.scala:167)
at besom.util.Validated.lmap(Validated.scala:47)
at besom.internal.Decoder.decode$$anonfun$1(codecs.scala:134)
at besom.util.Validated$.flatMap$$anonfun$1(Validated.scala:112)
... 11 more
Suppressed: besom.internal.DecodingError: [aws:route53/getZone:getZone().linkedServicePrincipal] aws:route53/getZone:getZone().linkedServicePrincipal: Encountered an error - possible secret - Known(Set(),false,Some(Value(NullValue(NULL_VALUE),UnknownFieldSet(Map()))))
... 17 more
Caused by: besom.internal.DecodingError: [aws:route53/getZone:getZone().linkedServicePrincipal] aws:route53/getZone:getZone().linkedServicePrincipal: Expected a string, got: 'NullValue(NULL_VALUE)'
at besom.internal.DecodingError$.apply(codecs.scala:80)
at besom.internal.Decoder$stringDecoder$.mapping(codecs.scala:217)
at besom.internal.Decoder.decode$$anonfun$1$$anonfun$1(codecs.scala:128)
at besom.internal.OutputData.traverseValidated(OutputData.scala:93)
at besom.internal.Decoder.decode$$anonfun$1(codecs.scala:128)
... 12 more
Suppressed: besom.internal.DecodingError: [aws:route53/getZone:getZone().vpcId] aws:route53/getZone:getZone().vpcId: Encountered an error - possible secret - Known(Set(),false,Some(Value(NullValue(NULL_VALUE),UnknownFieldSet(Map()))))
... 17 more
Caused by: besom.internal.DecodingError: [aws:route53/getZone:getZone().vpcId] aws:route53/getZone:getZone().vpcId: Expected a string, got: 'NullValue(NULL_VALUE)'
at besom.internal.DecodingError$.apply(codecs.scala:80)
at besom.internal.Decoder$stringDecoder$.mapping(codecs.scala:217)
at besom.internal.Decoder.decode$$anonfun$1$$anonfun$1(codecs.scala:128)
at besom.internal.OutputData.traverseValidated(OutputData.scala:93)
at besom.internal.Decoder.decode$$anonfun$1(codecs.scala:128)
... 12 more
Caused by: besom.internal.DecodingError: [aws:route53/getZone:getZone().linkedServiceDescription] aws:route53/getZone:getZone().linkedServiceDescription: Expected a string, got: 'NullValue(NULL_VALUE)'
at besom.internal.DecodingError$.apply(codecs.scala:80)
at besom.internal.Decoder$stringDecoder$.mapping(codecs.scala:217)
at besom.internal.Decoder.decode$$anonfun$1$$anonfun$1(codecs.scala:128)
at besom.internal.OutputData.traverseValidated(OutputData.scala:93)
at besom.internal.Decoder.decode$$anonfun$1(codecs.scala:128)
... 12 more
Possibly the same thing as in: #432
Is there any known workaround?