gifted-ocean-9512605/10/2020, 2:22 PM
). One way to achieve this is to generate the Droplet host keys locally on my PC then apply them to the Droplets using the
droplet property. I could then add the host public keys to the Pulumi stack output and configure Ansible to check the hosts against those public keys when connecting.
shows that the original
pulumi stack export
file, including the private keys, is being stored in the stack state. Although I understand that the data is encrypted, storing these files is unnecessary and so I would prefer not to store them.
Can I tell Pulumi to store the hashes and not the original contents of resource properties? Thank you.
broad-dog-2246305/10/2020, 2:29 PM
gifted-ocean-9512605/10/2020, 2:30 PM
broad-dog-2246305/10/2020, 2:33 PM
gifted-ocean-9512605/10/2020, 2:34 PM
broad-dog-2246305/10/2020, 2:35 PM
gifted-ocean-9512605/10/2020, 2:38 PM
which allows this). https://github.com/terraform-providers/terraform-provider-digitalocean/blob/726215a1fd1d897296e22b7f5c28fb3a766e0f33/digitalocean/resource_digitalocean_droplet.go#L172
broad-dog-2246305/10/2020, 3:11 PM