dazzling-journalist-91580
07/13/2024, 4:37 PMcloud-pricing-api
repo disappear to? I need to submit a PR to add aws_elasticache_cluster
and aws_elasticache_replication_group
pricingwhite-airport-8778
dazzling-journalist-91580
07/13/2024, 5:33 PMwhite-airport-8778
infracost --version
show? is it using v0.10.38? (latest)dazzling-journalist-91580
07/13/2024, 5:35 PMwhite-airport-8778
vi ~/.config/infracost/configuration.yml
and ensure that the cloud-pricing-api key is not set? so it uses the hosted version that has the latest price datadazzling-journalist-91580
07/13/2024, 5:39 PMwhite-airport-8778
dazzling-journalist-91580
07/13/2024, 5:40 PMapi-1 | {"level":50,"time":1720892396218,"pid":18,"hostname":"8ee8b30713b9","msg":"GraphQL encountered errors:\n[{\"message\":\"GraphQL operations must contain a non-empty `query` or a `persistedQuery` extension.\"}]"}
white-airport-8778
$ cat <http://main.tf|main.tf>
provider "aws" {
region = "us-east-1"
skip_credentials_validation = true
skip_requesting_account_id = true
access_key = "mock_access_key"
secret_key = "mock_secret_key"
}
resource "aws_elasticache_cluster" "example" {
cluster_id = "cluster-example"
engine = "memcached"
node_type = "cache.m4.large"
num_cache_nodes = 2
parameter_group_name = "default.memcached1.4"
port = 11211
}
$ infracost breakdown --path .
INFO Autodetected 1 Terraform project across 1 root module
INFO Found Terraform project main at directory .
Project: main
Name Monthly Qty Unit Monthly Cost
aws_elasticache_cluster.example
└─ ElastiCache (on-demand, cache.m4.large) 1,460 hours $227.76
dazzling-journalist-91580
07/13/2024, 5:47 PMElastiCache (on-demand, )