Expose number of managed Resources in plan policy

It would be nice to have the count of managed resources to build advanced policies:

In this run x%/Resources will be destroyed, we need to confirm that.

WorkaroundThere is a prebuild policy which tries to create this, but with an calculated cost for each operation. Probably it would be possible to get the resources count with something like: terraform show -json spacelift.plan | jq -c '.configuration' > configuration.custom.spacelift.json
ProblemExposing this value would result in an easier handling of such policies.

Please authenticate to join the conversation.

Upvoters
Status

🗑️ Archived

Board

💡 Feature Requests

Tags

Stacks

Date

About 1 month ago

Subscribe to request

Get notified by email when there are changes.