Skip to content

Commit e3ea966

Browse files
author
Erin Krengel
authored
Add bucket clearing instructions (pulumi#262)
1 parent 0d5f4e3 commit e3ea966

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

aws-ts-thumbnailer/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ with `***`.
2020
1. Create a new stack:
2121

2222
```
23-
$ pulumi stack init thumbnailer-testing
23+
pulumi stack init thumbnailer-testing
2424
```
2525
2626
1. Configure Pulumi to use an AWS region where Fargate is supported, which is currently only available in `us-east-1`, `us-east-2`, `us-west-2`, and `eu-west-1`:
2727
2828
```
29-
$ pulumi config set aws:region us-west-2
29+
pulumi config set aws:region us-west-2
3030
```
3131
3232
1. Restore NPM modules via `npm install` or `yarn install`.
@@ -101,4 +101,10 @@ with `***`.
101101
102102
## Clean up
103103
104-
To clean up resources, run `pulumi destroy` and answer the confirmation question at the prompt.
104+
To clean up the resources, you will first need to clear the contents of the bucket.
105+
106+
```bash
107+
aws s3 rm s3://$(pulumi stack output bucketName) --recursive
108+
```
109+
110+
Then, run `pulumi destroy` and answer the confirmation question at the prompt.

0 commit comments

Comments
 (0)