Skip to content

Commit

Permalink
Add bucket clearing instructions (pulumi#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Krengel committed Mar 26, 2019
1 parent 0d5f4e3 commit e3ea966
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions aws-ts-thumbnailer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ with `***`.
1. Create a new stack:

```
$ pulumi stack init thumbnailer-testing
pulumi stack init thumbnailer-testing
```

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`:

```
$ pulumi config set aws:region us-west-2
pulumi config set aws:region us-west-2
```

1. Restore NPM modules via `npm install` or `yarn install`.
Expand Down Expand Up @@ -101,4 +101,10 @@ with `***`.

## Clean up

To clean up resources, run `pulumi destroy` and answer the confirmation question at the prompt.
To clean up the resources, you will first need to clear the contents of the bucket.

```bash
aws s3 rm s3:https://$(pulumi stack output bucketName) --recursive
```

Then, run `pulumi destroy` and answer the confirmation question at the prompt.

0 comments on commit e3ea966

Please sign in to comment.