Skip to content

Calculate Terraform modules cost, implemented with infracost

Notifications You must be signed in to change notification settings

unfor19/modulecost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modulecost

Calculate Terraform modules cost, implemented with infracost

modulecost-example

Requirements

Getting Started

To see all available commands

docker run --rm unfor19/modulecost --help

Credentials file

docker run -v $HOME/.aws/:/root/.aws/ \
    -e AWS_PROFILE=default \
    --rm \
    unfor19/modulecost --github_repository terraform-aws-modules/terraform-aws-vpc -p examples/simple-vpc

Copy-Paste

docker run -v $HOME/.aws/:/root/.aws/ --rm -e AWS_PROFILE=default unfor19/modulecost --github_repository terraform-aws-modules/terraform-aws-vpc --module_dir_path examples/simple-vpc

Environment Variables

docker run \
    -e AWS_ACCESS_KEY_ID \
    -e AWS_SECRET_ACCESS_KEY \
    -e AWS_SESSION_TOKEN \
    --rm \
    unfor19/modulecost --github_repository terraform-aws-modules/terraform-aws-vpc -p examples/simple-vpc

Copy-Paste

docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN --rm unfor19/modulecost --github_repository terraform-aws-modules/terraform-aws-vpc -p examples/simple-vpc

Authors

Created and maintained by Meir Gabay

About

Calculate Terraform modules cost, implemented with infracost

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published