sparse-agent-84160
04/04/2021, 9:04 AMprehistoric-coat-10166
04/04/2021, 3:00 PMthen they can press a button to spin up a new instance in their DO account and with all the configuration and software installed.I think the Pulumi Automation API (C# version fore xample (https://www.pulumi.com/blog/automation-api-dotnet/)) could help with this, it can be used for managing Pulumi projects, basically it wraps the
pulumi
CLI in a software library for each of Pulumi's supported language.
You define the Pulumi Stacks
yourself with the necessary DO resources,
then make the stacks configurable using pulumis configuration.
Use the automation API in your API Endpoint to manage stacks (update, destroy).
I know the DigitalOcean provider can be used with setting digitalocean:token
variable in the Pulumi config,
setting the variable as --secret
ensures the variable is encrypted so it can be stored safely.sparse-agent-84160
04/05/2021, 2:09 PMprehistoric-coat-10166
04/05/2021, 2:20 PM