Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmalek/terraform_aws_spot
Create AWS spot fleet with a simple terraform command
https://github.com/pmalek/terraform_aws_spot
aws aws-spot terraform
Last synced: 6 days ago
JSON representation
Create AWS spot fleet with a simple terraform command
- Host: GitHub
- URL: https://github.com/pmalek/terraform_aws_spot
- Owner: pmalek
- License: apache-2.0
- Created: 2021-01-24T10:51:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-24T12:07:54.000Z (almost 4 years ago)
- Last Synced: 2024-10-29T10:52:14.319Z (about 2 months ago)
- Topics: aws, aws-spot, terraform
- Language: HCL
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# terraform_aws_spot
Create AWS spot fleet with a simple terraform command
## How to run
Source AWS credentials and edit `main.tfvars` to suit your needs.
```
key_name="id_rsa"
spot_price=0.02
capacity=1
```Run `terraform plan` and `terraform apply`:
```
make plan && make apply
```## How to destroy created resources
```
make destroy
```