Hello Pulumi Community! :wave: I am on the communi...
# general
w
Hello Pulumi Community! 👋 I am on the community rotation this week and will be going through and responding to questions. Please respond to this thread with anything cool youve been working on or questions you have!
👋 3
👋🏻 1
m
No question, just a plug. I'm working on Azure functions for my workshop on IaC in Azure with C# this wednesday.
🙌 1
p
No question, just an unusual topic I guess: We spin up temporary environments, run tests on it and tear it down within an hour and I'm working on a reliability improvement - When polling Azure API for status of creation of a resource, Azure sometimes responds with unexpected status code, the program fails and on retry, it fails with "already exists" error. We have dealt with this back in Terraform by parsing the error output and importing it before retry (which was quite a cumbersome workaroud). Now in the Pulumi, I intend to handle it by autonaming - that way the resource affected by this ends up created twice due to random name suffix, and only the second one is used, which is quite an elegant solution for these temporary environments. (FYI each of these environments costs ~1USD, so the slight increase in the cost is well worth saving our developers time to investigate what went wrong and running it again).
w
I see! sounds like an interesting way to solve the ephemeral env (or pr env or review env as azure calls it) problem.
👍 1