average-balloon-47336
05/20/2021, 8:17 AM/root/.config/infracost/.state.json
, where I assume root
was picked due to it choosing the homedir judging by this. Any advice on how to tackle this?helpful-hydrogen-90026
05/26/2021, 1:07 PMdesired_capacity
is used for cost calculation. However, I'm more interested in the minimum and maximum values. Or specifying a value myself based on actual usage. Is that a possibility?jolly-pillow-24544
05/28/2021, 10:10 AMaverage-egg-61967
05/31/2021, 1:41 PM/scripts/ci/diff.sh: line 231: syntax error: unexpected "else" (expecting "then")
I’ve tried to use older version of https://github.com/infracost/infracost-gh-action, but it looks like all of them point to Latest version of Infracost.jolly-pillow-24544
06/02/2021, 3:47 PMmillions-optician-95381
06/03/2021, 3:08 PMjolly-pillow-24544
06/04/2021, 1:18 PMMonthly cost will increase by $1242 (+45991%)
Previous monthly cost: $2.70
New monthly cost: $1244
Infracost output:
Project: /home/atlantis/.atlantis/repos/ume-platform-engineering/tf-env-data-engineering/80/default/eu-west-1/prd/yellowfin-01/eu-west-1-prd-yellowfin-01-default.tfplan
+ module.yellowfin.module.rds.module.db.module.db_instance.aws_db_instance.this[0]
+$1,242
+ Database instance
+$1,104
+ Database storage
+$138
+ Database storage IOPS
$0.00
Monthly cost change for /home/atlantis/.atlantis/repos/ume-platform-engineering/tf-env-data-engineering/80/default/eu-west-1/prd/yellowfin-01/eu-west-1-prd-yellowfin-01-default.tfplan
Amount: +$1,242 ($2.70 -> $1,244)
Percent: +45,991%
----------------------------------
Key: ~ changed, + added, - removed
4 resource types weren't estimated as they're not supported yet, rerun with --show-skipped to see.
Please watch/star <https://github.com/infracost/infracost> as new resources are added regularly.
i am literally not changing anything as the database and all it needs is already therewhite-airport-8778
gray-school-17920
06/11/2021, 9:55 AMhallowed-caravan-40528
06/13/2021, 8:34 PMinfracost breakdown --path
is returning the above for me:
No such file or directory
hallowed-caravan-40528
06/17/2021, 5:23 PMterraform show
command as we discussed the importance of this in this issue. Even if we decide to bundle terraform-exec into infracost, i think that would still be valuable for other use-cases and tools. Anyone wanna jump-in?victorious-accountant-61545
06/18/2021, 10:16 AMvictorious-accountant-61545
06/18/2021, 10:18 AMclean-dream-3226
06/18/2021, 11:18 AMTerraform command failed with:
Error: Backend initialization required, please run "terraform init"
Reason: Initial configuration of the requested backend "s3"
The "backend" is the interface that Terraform uses to store state,
perform operations, etc. If this message is showing up, it means that the
Terraform configuration you're using is using a custom configuration for
the Terraform backend.
Changes to backend configurations require reinitialization. This allows
Terraform to set up the new configuration, copy existing state, etc. Please
run
"terraform init" with either the "-reconfigure" or "-migrate-state" flags to
use the current configuration.
If the change reason above is incorrect, please verify your configuration
hasn't changed and try again. At this point, no changes to your existing
configuration or state have been made.
should I run it locally or inside github action as a step?jolly-pillow-24544
06/22/2021, 4:18 PMwhite-airport-8778
brave-beach-52021
07/01/2021, 9:39 AMbillions-application-10929
07/01/2021, 2:57 PMbillions-application-10929
07/01/2021, 3:11 PMinfracost
on Gitlab CI pipelines (based on the provided template) but I'm facing the following issue:
when infracost breakdown
is run a terraform init
command is launched but failed because the address
field of the http backend is not defined
I do not see any infracost breakdown
option to pass this value to terraform init
do you think it could be a good idea to have a --terraform-init-flags
to pass flags like -backend-config=address=<https://my-backend-address>
?thousands-airline-24628
07/02/2021, 5:44 AM:latest
tag (ref).
Would it be possible to make it so the docker image version can be pinned, so that we're not pulling the image every time? (or if someone knows a way around this particular problem, I'd love to hear it)billions-application-10929
07/05/2021, 3:25 PMearly-queen-42970
billions-application-10929
07/08/2021, 8:02 AMplan.json
file to your API (through the infracost
cli)
The problem is that my plan can contain sensitive values that I don't want to send anywhere (even if you are not evil folks 🙂 )
I have been looking at tools like https://github.com/cloudposse/tfmask but this kind of tool only hides values on CLI output not in plan
Do you have any idea or tool that can help me on that matter? Or do you plan to implement such mechanism in infracost?
Because I'm must be honest, I'm not going to use the tool on sensitive environments while I'm not able to hide sensitive values inside the plan file before sending it to the API
Thank you for your help 😉jolly-pillow-24544
07/12/2021, 8:02 PMbored-controller-66297
07/15/2021, 6:32 PMdamp-ambulance-61372
07/22/2021, 4:30 AMadventurous-football-42741
07/22/2021, 6:38 AMdamp-ambulance-61372
07/22/2021, 12:38 PMjolly-pillow-24544
07/26/2021, 6:21 PMUpdate: A new version of Infracost is available: v0.8.7 → v0.9.4
$ curl -fsSL <https://raw.githubusercontent.com/infracost/infracost/master/scripts/install.sh> | sh
##### Infracost estimate #####
Monthly cost will increase by $186 (+6903%)
Previous monthly cost: $2.70
New monthly cost: $189
Infracost output:
Project: /home/atlantis/.atlantis/repos/platform-engineering/tf-env-rules-engine/104/default/eu-west-1/stg/lbg/eu-west-1-stg-lbg-default.tfplan
+ module.lbg_client_cert_for_staging_enquiry_engine.aws_ssm_parameter.cert_pk12
+$0.05
+ Parameter storage (advanced)
+$0.05
+ API interactions (advanced)
Monthly cost depends on usage
+$0.05 per 10k interactions
+ module.platform_engineering_client_cert_for_staging_enquiry_engine.aws_ssm_parameter.cert_pk12
+$0.05
+ Parameter storage (advanced)
+$0.05
+ API interactions (advanced)
Monthly cost depends on usage
+$0.05 per 10k interactions
+ module.rules_engine.module.rds.module.db.module.db_instance.aws_db_instance.this[0]
+$186
+ Database instance
+$138
+ Database storage
+$48.30
+ Database storage IOPS
$0.00
Monthly cost change for /home/atlantis/.atlantis/repos/platform-engineering/tf-env-rules-engine/104/default/eu-west-1/stg/lbg/eu-west-1-stg-lbg-default.tfplan
Amount: +$186 ($2.70 -> $189)
Percent: +6,903%
----------------------------------
Key: ~ changed, + added, - removed
the change created some keypairs and added them to SSM