Thread
#general
    m

    miniature-leather-70472

    1 month ago
    Is there anyway to store additional data in the state file outside of creating a resource? To give more detail, I've got some plain C# code that calls a rest api as part of a Pulumi project ( there's no Pulumi resource for it) this works fine, but currently it gets called every time I run Pulumi up. Ideally I'd like to only run this on the first run the deployment, so if I could store the value in the state file and check for that existing this might deal with that.
    s

    steep-toddler-94095

    1 month ago
    m

    miniature-leather-70472

    1 month ago
    unfortuantely dynamic providers aren't supported in .net, else yes that would do the job.