Creating a demo site via the SSP API will not automatically destroy it. You must do this manually. The CWP demo site does this with a queued job scheduled to clean up later on, but if you're doing this via CLI it will need something else in place.
Note: This would probably involve some infrastructure changes somewhere, rather than be bundled directly into this application.
I'm thinking of something like:
CLI pushes notification to AWS SQS or a SSP API to destroy a specific demo site on a particular date
When that date hits, the job is processed
The job pings the SSP API to delete the site
Perhaps SQS -> DynamoDB -> Lambda or something similar.
Creating a demo site via the SSP API will not automatically destroy it. You must do this manually. The CWP demo site does this with a queued job scheduled to clean up later on, but if you're doing this via CLI it will need something else in place.
Note: This would probably involve some infrastructure changes somewhere, rather than be bundled directly into this application.
I'm thinking of something like:
Perhaps SQS -> DynamoDB -> Lambda or something similar.