mysterious-teacher-68276
08/30/2022, 3:31 PMinfracost upload
command that allows you to upload an Infracost JSON to Infracost Cloud without the need for infracost comment
⬆️
• Lots of bug updates to resource parsing and price filters, meaning a more accurate Infracost 🥇
Thanks again to the community for helping find bugs, contribute features and most importantly showing Infracost your love infraheartred-tailor-89207
09/01/2022, 8:41 AMGet started
window in Infracost cloud? I don’t want to set up the CLI locally since we’re only running terraform in CIlittle-author-61621
little-author-61621
white-airport-8778
gray-fountain-92834
09/02/2022, 11:09 AMwhite-airport-8778
white-airport-8778
worried-soccer-67640
09/07/2022, 1:14 PMgreen-thailand-87645
09/07/2022, 2:26 PMhappy-electrician-59798
09/08/2022, 2:13 AMagreeable-dream-24443
09/08/2022, 2:55 PMworried-soccer-67640
09/08/2022, 4:30 PMError: couldn't find key postgresql-postgres-password in Secret mynamespace/infracost-postgresql
so i added postgresql-postgres-password
as a key and removed postgresql-password
.
then the error changes to:
Error: couldn't find key postgresql-password in Secret atlantis/infracost-postgresql
then i added postgresql-password
as another key in the same secret, and the error disappeared.
so my secret now looks like the attached:worried-soccer-67640
09/09/2022, 1:47 PMinfracost breakdown
locally with my terragrunt file, but it seems to be pulling prices for us-east-1 rather than the region i'm actually using, is this expected?worried-soccer-67640
09/09/2022, 7:26 PMinfracost
detect the difference between spot and on-demand?
~ aws_eks_node_group.nodegroup["spot-az1"]
-$1,023 ($1,137 → $114)
~ aws_launch_template.nodegroup
~ Instance usage (Linux/UNIX, on-demand, m5.2xlarge → t3a.xlarge)
-$1,011 ($1,121 → $110)
~ block_device_mapping[0]
~ Storage (general purpose SSD, gp3)
-$12.00 ($16.00 → $4.00
this is definitely a spot node group, but it says on-demand
^flat-article-86750
09/10/2022, 12:34 AMinfracost diff
command following the instructions that we can find in the documentation (https://www.infracost.io/docs/features/cli_commands/#option-2-terraform-plan-json-1), but there's something that doesn't make sense for me. If the terraform plan says that it's going to change 1 resource, why the diff command is trying to estimate all the resources and the result is that the whole deployment is added and none is changed?.flat-article-86750
09/10/2022, 12:47 AMpolite-engineer-31217
09/12/2022, 6:56 AMError: Failed to parse the Terragrunt code using the Terragrunt library:
1 error occurred:
* error downloading '<https://github.com/aws-ia/terraform-aws-control_tower_account_factory.git?ref=1.6.2>': /usr/bin/git exited with 1: error: pathspec 'master' did not match any file(s) known to git
I don’t know why it’s looking for the master branch
I’m using terragrunt and calling the module like this
terraform {
source = "<http://github.com/aws-ia/terraform-aws-control_tower_account_factory//.?ref=1.6.2|github.com/aws-ia/terraform-aws-control_tower_account_factory//.?ref=1.6.2>"
}
Any idea what’s wrong ? Thank youthousands-london-43582
09/12/2022, 9:41 AMlittle-author-61621
worried-soccer-67640
09/13/2022, 4:52 PMbreakdown
command?
version: 0.1
projects:
- path: aws/accounts/nonprod
env:
AWS_PROFILE: infracost-nonprod
- path: aws/accounts/prod
env:
AWS_PROFILE: infracost-prod
- path: aws/accounts/shared
env:
AWS_PROFILE: infracost-shared
- path: aws/accounts/connectivity
env:
AWS_PROFILE: infracost-connectivity
i want something like this ^worried-soccer-67640
09/13/2022, 4:52 PMworried-soccer-67640
09/13/2022, 4:54 PMworried-soccer-67640
09/13/2022, 4:55 PMwhite-airport-8778
brash-musician-72826
09/13/2022, 9:23 PMbrash-musician-72826
09/13/2022, 9:24 PMgreen-thailand-87645
09/14/2022, 2:45 AMbrash-musician-72826
09/14/2022, 5:25 PMapiVersion: v1
kind: Secret
metadata:
name: infracost-secret
type: Opaque
data:
infracost-api-key:
self-hosted-infracost-api-key:
postgresql-password:
am I missing something?worried-soccer-67640
09/15/2022, 10:38 AMinfracost