CloudCraft is a CLI tool that simplifies the process of creating EC2 instances on AWS using Terraform. It provides an interactive prompt to gather necessary configuration details and then uses Terraform to provision the infrastructure.
Before using CloudCraft, ensure you have the following installed on your system:
- Go (version 1.22 or later)
- Terraform (version 0.12 or later)
- Clone this repository:
git clone https://github.com/drew-drops-hub/cloudcraft.git cd cloudcraft - Build the application:
go build
-
Run the CloudCraft executable:
./cloudcraft
-
Follow the prompts to enter your AWS credentials and EC2 instance details.
-
Review the configuration summary and confirm to proceed.
-
CloudCraft will use Terraform to create your EC2 instance.
CloudCraft will prompt you for the following information:
- AWS Access Key
- AWS Secret Key
- AWS Region
- EC2 Instance Type
- AMI ID
- Instance Name
- Key Pair Name
- Ensure that Terraform is installed and available in your system PATH.
- AWS credentials entered are not stored and are only used for the current session.
- The Terraform state file will be created in the same directory. Be cautious about sharing this file as it may contain sensitive information.
Contributions to CloudCraft are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.