This message was deleted.
# general
s
This message was deleted.
g
The role-based access controls of the Pulumi Console could help here - https://www.pulumi.com/docs/intro/console/collaboration/stack-permissions/. If you give a user READ instead of WRITE then they can see the stack details but not make any changes or destroy it. Alternatively, you can mark resources with
protect: true
to prevent them from being destroyed - https://www.pulumi.com/docs/intro/concepts/programming-model/#protect. You could use a stack transformation (with
registerStackTransformation
) to mark all resources as protected - https://www.pulumi.com/docs/intro/concepts/programming-model/#protect.
l
The low-tech solution is to remove the sensitive stack yaml file from source control. Keep it in a separate repo or secure doc manager.
l
The stack permissions is what I was looking for. Thankyou