Hey folks, I'm beginning to explore a bit around d...
# general
s
Hey folks, I'm beginning to explore a bit around deployment testing, and using the example in this blog post:
<https://www.pulumi.com/blog/testing-your-infrastructure-as-code-with-pulumi/#deployment-testing>
, hit an issue straight away. I've just copied the code verbatim from that post, and it seems I'm hitting an issue with
../github.com/pulumi/pulumi/pkg/resource/deploy/providers/registry.go:326:30: multiple-value uuid.NewV4() in single-value context
. Seems to be an issue with
satori/go.uuid
returning
err
for
NewV4()
as well, but I feel like others would have come across this issue too, so, have I got something obviously wrong?
b
AFAICR you are using TypeScript, right @stocky-nail-30268?
s
Yep
This is a more up-to-date article
I am actually using this types of tests in talks right now and they work well
s
Is it possible to do a run-time check with this as well? Want to guard against things like a namespace change breaking a lambda entrypoint
I'm basically keen to make sure things are at least running, as well as deployed
🤔 I guess I could just run those checks after the deploy and flag on
dryRun
like you are. Cheers, will give it some thinking
b
👍
yeah the runtime checks can only check potential changes