flaky-morning-84929
09/11/2024, 11:53 AM@jsonDerive
case class Config(
@jsonField("BookPhone:jivetelApiToken") jivetelApiToken: Option[String],
@jsonField("BookPhone:taskQueueName") taskQueueName: Option[String]
)
(so the field is optional) then everything works. For debugging I add an output
that contains data from PULUMI_CONFIG as well as the list of environment variables, and PULUMI_CONFIG is there as expected.flaky-morning-84929
09/11/2024, 11:55 AMtaskQueueName
that it got from deserializing it.
But if I change it to taskQueueName: String
(indicating it's a mandatory field), then it can't deserialize. In the exception that I throw (which gets printed to stderr) I include the list of environment variables, and PULUMI_CONFIG isn't there!flaky-morning-84929
09/11/2024, 11:56 AMflaky-morning-84929
09/11/2024, 12:02 PM