Skip to content

This is an opentofu plan to build a single instance torero server

Notifications You must be signed in to change notification settings

torerodev/singlehost-ec2-torero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

singlehost-ec2-torero

Running Plan

To run the plan, you'll need to make sure you have the correct permissions in EC2. Also, set the variable instance-key-name to the name of the key pair that you'd like to use

opentofu apply -auto-approve\
--var instance-key-name=name_of_a_key_in_ec2\
--var aws-access-key=your_aws_key\
--var aws-secret-key=your_aws_secret
opentofu destroy -auto-approve\
--var instance-key-name=name_of_a_key_in_ec2\
--var aws-access-key=your_aws_key\
--var aws-secret-key=your_aws_secret

Using torero

First grab the torero-service.json file however you want.

torero db import torero-service.json
torero run opentofu-plan torero-in-EC2\
--set aws-access-key=some_key\
--set aws-secret-key=some_secret\
--set instance-key-name=mykey-name-in-ec2\
--state-out=./tf.json

Then to delete:

torero run opentofu-plan destroy torero-in-EC2\
--set aws-access-key=some_key\
--set aws-secret-key=some_secret\
--set instance-key-name=mykey-name-in-ec2\
--state @./tf.json

About

This is an opentofu plan to build a single instance torero server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published