Skip to content

Commit

Permalink
Added AWS SQS Infra file for Cloudformation
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Jul 11, 2023
1 parent 01cc945 commit 8534c14
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions infra/aws-sqs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ $ cd terraform/
$ terraform destroy
```

## Cloudformation

The commmand to create the infra is:

```bash
$ aws cloudformation deploy --template-file cloudformation/aws-sqs.yaml --stack-name my-new-stack --parameter-overrides QueueName=<queue-name>
```

Once completed do:

```bash
$ aws cloudformation delete-stack --stack-name my-new-stack
```


11 changes: 11 additions & 0 deletions infra/aws-sqs/cloudformation/aws-sqs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Parameters:
QueueName:
Type: String
Description: The queue name.

Resources:
SQSQueue:
Type: 'AWS::SQS::Queue'
Properties:
QueueName:
Ref: QueueName

0 comments on commit 8534c14

Please sign in to comment.