This message was deleted.
# help
b
This message was deleted.
c
Hi Oliver, yeah the
db_instance_class-mock
indicates that we weren’t able to figure out the instance class from the HCL or the tf vars. Any chance you could share the minimal code that reproduces the issue?
k
I'll see what I can do to get a MCVE. BTW there needs to be better warning about stuff like that. I don't mind if it cannot get the cost estimate, but it needs to let the user know more obviously when there is data that affects cost that it could not find. Eg it could say
Copy code
WARNING: Incomplete cost because the following parameters were not found: 
- RDS instance class
- ...
c
Thanks an MCVE would be great. You should be seeing a warning log along the lines of
No products found for module.dss_comp_database.aws_db_instance.postgres[0] Database instance (on-demand, Single-AZ, db_instance_class-mock), using 0.00
, but it would be great if we could specifically call out the case where mock values are used. We’ve actually had discussions about this before but we haven’t come up with a nice way to do it yet.
k
@crooked-daybreak-55253 ^^^
c
Thanks! I saw it and have a story on our sprint.