For updating session duration and provider in AWS PermissionSet, why does it choose to delete and re-create instead of updating the resource?
08/22/2023, 11:07 PM
A provider is a connection to a cloud resource. You can't change a thing from (for example) AWS to Azure unless you delete it from AWS. Even if you could make the change just by logging in as a different user / role, Pulumi doesn't know that.
The provider is effectively a whole new cloud, as far as Pulumi is concerned.
08/22/2023, 11:10 PM
Makes sense. Follow up question - can I force Pulumi to delete then create, instead of create then delete? This often results in failure due to naming conflict