03/29/2022, 3:24 AM
has anyone used the github provider
resource? This one seems a bit weird. Like you’d have to constantly be adding resources to a stack (new pull requests), or you need to automatically “forget” the resource, so you can recreate it? (
pulumi state rm
) I’m curious if anyone has used this before, and how they are using it.
From the upstream documentation:
// It’s not entirely clear how to treat PR deletion according to Terraform’s
// CRUD semantics. The approach we’re taking here is to close the PR unless
// it’s already closed or merged. Merging it feels intuitively wrong in what
// effectively is a destructor. I guess this makes sense.