Not currently. I'm sure this idea has come up before but I can't find a github issue for it... feel free to make a new one, especially if you've got a concrete use case in mind.
Please let me know if/how I can be more helpful in my GitHub issue description! ❤️ I really care a lot about this use-case, as I’ve been so disappointed by pretty much every IaC tool that seems like it could never support it.
Maybe it’s just a bad idea to begin with! But if so, I really want to learn why.
e
echoing-dinner-19531
02/23/2022, 8:32 PM
No it's a fair feature request, I'm really surprised I can't find any other issues about it because I'm sure it's come up before.
c
clever-belgium-19744
02/23/2022, 8:39 PM
I wouldn’t be surprised if it never has! As far as I’ve seen, there hasn’t been much of a discussion about unit-testable and custom deploy-time error handling in the IaC community. It seems like we’ve converged on templates and DSLs where that sort of thing seems really hard to implement. To me, it’s one of those, “Is everyone crazy, or just me?” sorts of things. Hits you right in the impostor syndrome. 😆
But I think Pulumi challenges a lot of traditional thought in that community in a really exciting way!
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.