Difference between revisions of "Infracost"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  infracost breakdown --path /code --terraform-var-file my.tfvars
 
  infracost breakdown --path /code --terraform-var-file my.tfvars
 +
 +
infracost breakdown --path ./
 +
Error: No [[INFRACOST_API_KEY]] environment variable is set.
 +
We run a free Cloud Pricing API, to get an API key run [[infracost auth login]]
  
  
 
{{Infracost}}
 
{{Infracost}}

Revision as of 12:47, 3 April 2023

wikipedia:Infracost

brew install infracost
infracost --help


infracost breakdown --path /code --terraform-var-file my.tfvars
infracost breakdown --path ./
Error: No INFRACOST_API_KEY environment variable is set.
We run a free Cloud Pricing API, to get an API key run infracost auth login


Infracost, infracost --help

Advertising: