ecoinfra is a powerful tool that helps you predict, asses, and reduce the environmental impact of your cloud infrastructure. By integrating your existing or new IaC project you can harness predictive sustainability into your cloud operations.
Visit our website at Eco-Infra.com to learn more about how we're revolutionizing eco-friendly cloud computing.
To start using the ecoinfra tool, follow these simple steps:
Run the tool in a supported CI environment
- name: Eco-Infra
uses: ecoinfra/ecoinfra-action@v1.1.2
with:
token: 'TOKEN'
project-name: 'my-project'
path: './terraform'
apply: 'true'
Or Run the tool from your command line interface (CLI) or terminal.
$ ecoinfra-PLATFORM --token {{Token}} --project-name {{Unique Project Name}} {{Project Directory}}
An example:
$ ecoinfra-PLATFORM --token c3da55b6-b8a0-43ad-b513-a751e76553de --project-name "Production Account" ./prod
The tool requires two arguments and a path to your IaC project (Where you run terraform form):
--token
- Your unique API key.--project-name
- A unique name for your project.{{Project Directory}}
- The directory of your IaC project.You will be required you to run terraform init before running the tool.
git clone git@github.com:eco-infra/ecoinfra.git
npm i
npm run package
./build/ecoinfra-PLATFORM --token {{Token}} --project-name {{Unique Project Name}} {{Project Directory}}
Please read the contribution guidelines before contributing to the project. CONTRIBUTING.md