cycloidio / terracost

Cloud cost estimation for Terraform in your CLI
MIT License
286 stars 30 forks source link

estimation: add support for provider names from Terraform 0.13+ #18

Closed patrislav closed 3 years ago

patrislav commented 3 years ago

Terraform changed the way the providerName is used in the plan file. This will break the plans generated by Terraform 0.13+ that use full URI's as provider name. For example, "aws" was replaced by "registry.terraform.io/hashicorp/aws" and as such it's not easily linkable to the provider name from the configuration block (that stays as "aws").