Namely Min IaC or Mini IaC. Fast deploy your SasS on different clouds or containers.
- Install Terraform
- Configure the authentication information for the corresponding cloud platform
-
Clone the project to your local machine:
git clone <project_url> cd miniac
-
Choose the cloud platform directory as needed (e.g., aws, azure, gcp, or ali), and enter the corresponding directory:
cd aws
-
Initialize Terraform:
terraform init
-
Check the Terraform configuration:
terraform plan
-
Apply the Terraform configuration:
terraform apply
-
After deployment, you can access your instance through the output IP address.
If you no longer need these resources, you can destroy them using the following command:
terraform destroy
- main.tf: Main Terraform configuration file, defining resources and providers.
- variables.tf: Defines the variables used in the Terraform configuration.
- outputs.tf: Defines the outputs of the Terraform configuration.
- versions.tf: Defines the version requirements for Terraform and providers.
- deploy_env.sh: A script to be executed on the instance, showing basic information.
This project is licensed under the Apache License 2.0.
Contributions are welcome! Please submit a Pull Request or report an Issue.
If you have any questions, please contact the project maintainers.