infracost icon indicating copy to clipboard operation
infracost copied to clipboard

[Bug]: Failed to parse the Terragrunt code using the Terragrunt library - invalid character ',' looking for beginning of value

Open armenr opened this issue 2 years ago β€’ 4 comments

❯ infracost --version
Infracost v0.10.9
❯ terraform --version
Terraform v1.2.6
on darwin_arm64
❯ terragrunt --version
terragrunt version v0.38.6

Explanation of odd behavior:

Terragrunt works without issue when running terragrunt run-all --terragrunt-non-interactive plan in: /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/

Infracost errors out when running infracost breakdown --path . in the same directory.

Logs from running infracost are attached below. I'm having a hard time decoding in which dependency "layer" infracost seems to be having an issue (rds, elasticache, vpc, elasticsearch, etc.)

❯ pwd
/Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env

❯ infracost breakdown --path .
Detected Terragrunt directory at .
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory
  βœ” Downloading Terraform modules
  βœ” Evaluating Terraform directory

Error: Failed to parse the Terragrunt code using the Terragrunt library:
3 errors occurred:
	* Cannot process module Module /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/compute_eks/uat/6k (excluded: false, assume applied: false, dependencies: [/Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/compute_eks, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/network_vpc, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_rds, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_efs, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_elasticache, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_elasticsearch, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_amq, /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_rds]) because one of its dependencies, Module /Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/storage/storage_elasticsearch (excluded: false, assume applied: false, dependencies: [/Users/REDACTED/Development/widget-corp/terraform_aws/config/dev-account/us-west-2/my-awesome-env/network_vpc]), finished with an error: invalid character ',' looking for beginning of value
	* invalid character ',' looking for beginning of value
	* invalid character ',' looking for beginning of value


armenr avatar Aug 03 '22 16:08 armenr

Thanks for reporting @armenr πŸ™. Are you able to provide any relevant debug logs to help us track this issue down? You can generate these by running with --log-level=debug.

In the meantime you could try running with --terraform-force-cli which means Infracost will run the terragrunt binary under the hood. See https://github.com/infracost/infracost/issues/1695 for more details on this workaround.

aliscott avatar Aug 03 '22 17:08 aliscott

@aliscott - I was able to workaround using that command switch, as I had previously. :) Thank you!

Let me get you some debug logging and see if we can't clarify what's up.

armenr avatar Aug 03 '22 18:08 armenr

I am running into the same issue, and I was able to narrow it down, although I am not quite sure what is happening exactly. A minimal example where this fails requires 2 modules, one being a dependency of the other:

database/:

# terragrunt.hcl is required for dependency, but empty

# main.tf
provider "azurerm" {
  features {}
}

resource "random_string" "server_name_suffix" {
  length  = 5
  special = false
  upper   = false
}

resource "azurerm_postgresql_flexible_server" "example" {
  name                   = "any-name-with-random-suffix-${random_string.server_name_suffix.result}"
  resource_group_name    = "resource-group-name"
  location               = "Germany West Central"
  sku_name               = "B_Standard_B1ms"
  administrator_login    = "Admin"
  administrator_password = "admin-password"
}

output "server_name" {
  value       = azurerm_postgresql_flexible_server.example.name
}

dependency/:

# terragrunt.hcl
dependency "database" {
  config_path  = find_in_parent_folders("database")
}

inputs = {
  database_server_name = dependency.database.outputs.server_name
}

# main.tf can be anything I believe, but I just put this to avoid parsing errors
provider "azurerm" {
  features {}
}

Now trying to run infracost breakdown --path=dependency will cause

Error: Failed to parse the Terragrunt code using the Terragrunt library:
1 error occurred:
	* invalid character ',' looking for beginning of value

I played around a bit and noticed that the error does not occur when

  • running breakdown on the database module
  • the inputs are removed in the dependency module
  • the random_string suffix is removed from the azurerm_postgresql_flexible_server.example.name property
  • the name is repeated in the output, instead of accessing it on the resource, i.e.
output "server_name" {
  value = "any-name-with-random-suffix-${random_string.server_name_suffix.result}"
  # instead of 
  # value = azurerm_postgresql_flexible_server.example.name
  # even though this should be the same
}

This example is using azurerm_postgresql_flexible_server, but I noticed that the same happens when using an azurerm_key_vault, for example. Another thing I realized is that for me this only happens since version 0.10.8. I do not get this error in version 0.10.7 and below.

And finally some debug logs using the setup above:

time="2022-08-19T15:56:53+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/config.(*RunContext).IsCloudEnabled" file="/home/runner/work/infracost/infracost/internal/config/run_context.go:196" currency=USD sync_usage=false is_cloud_enabled=false msg="IsCloudEnabled inferred from Config.EnabledDashboard"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func=main.loadCloudSettings file="/home/runner/work/infracost/infracost/cmd/infracost/main.go:250" enable_cloud_org=false result="{CloudEnabled:false}" currency=USD msg="Successfully loaded settings from Infracost Cloud"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/vcs.(*metadataFetcher).Get" file="/home/runner/work/infracost/infracost/internal/vcs/metadata.go:152" sync_usage=false enable_cloud_org=false msg="could not detect a specific CI system, fetching local Git metadata"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func=main.runMain file="/home/runner/work/infracost/infracost/cmd/infracost/run.go:95" currency=USD sync_usage=false error="could not open git directory to fetch metadata repository does not exist" msg="failed to fetch vcs metadata for path dependency"
time="2022-08-19T15:56:54+02:00" level=info file="/home/runner/work/infracost/infracost/cmd/infracost/run.go:394" func="main.(*parallelRunner).runProjectConfig" msg="Detected Terragrunt directory at dependency"
time="2022-08-19T15:56:54+02:00" level=debug provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/database] "
time="2022-08-19T15:56:54+02:00" level=debug routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Module ~/delme-infracost/modules/dependency must wait for 1 dependencies to finish prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Module ~/delme-infracost/modules/database must wait for 0 dependencies to finish prefix=[~/delme-infracost/modules/database] "
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency routine=2 msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Assuming module ~/delme-infracost/modules/database has already been applied and skipping it prefix=[~/delme-infracost/modules/database] "
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Module ~/delme-infracost/modules/database has finished successfully! prefix=[~/delme-infracost/modules/database] "
time="2022-08-19T15:56:54+02:00" level=debug currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false provider=terragrunt_dir msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Dependency ~/delme-infracost/modules/database of module ~/delme-infracost/modules/dependency just finished successfully. Module ~/delme-infracost/modules/dependency must wait on 0 more dependencies. prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Running module ~/delme-infracost/modules/dependency now prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/database] "
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= project_path=dependency routine=2 msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/database] "
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func=github.com/infracost/infracost/internal/hcl.OptionWithRawCtyInput.func1 file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:116" enable_cloud_org=false currency=USD msg="recovering from panic using raw input Terraform var value is null"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*projectLocator).walkPaths" file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:627" project_path=~/delme-infracost/modules/database routine=2 provider=terraform_dir currency=USD project_name= parent_provider=terragrunt_dir sync_usage=false msg="walking path ~/delme-infracost/modules/database to discover terraform files"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func=github.com/infracost/infracost/internal/hcl.newParser file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:280" enable_cloud_org=false project_path=~/delme-infracost/modules/database routine=2 sync_usage=false provider=terraform_dir parser_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir project_name= msg="excluding spinner output"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Parser).ParseDirectory" file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:295" enable_cloud_org=false currency=USD routine=2 sync_usage=false project_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database project_name= parent_provider=terragrunt_dir msg="Beginning parse for directory '~/delme-infracost/modules/database'..."
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Parser).parseDirectoryFiles" file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:392" project_path=~/delme-infracost/modules/database sync_usage=false provider=terraform_dir parent_provider=terragrunt_dir enable_cloud_org=false parser_path=~/delme-infracost/modules/database currency=USD project_name= msg="Added 4 blocks from ~/delme-infracost/modules/database/main.tf..."
time="2022-08-19T15:56:54+02:00" level=debug parser_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Parser).ParseDirectory" file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:314" project_path=~/delme-infracost/modules/database currency=USD project_name= parent_provider=terragrunt_dir sync_usage=false routine=2 provider=terraform_dir enable_cloud_org=false msg="Loading TFVars..."
time="2022-08-19T15:56:54+02:00" level=info file="/home/runner/work/infracost/infracost/internal/ui/spin.go:41" func=github.com/infracost/infracost/internal/ui.NewSpinner msg="Starting: Downloading Terraform modules"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Parser).ParseDirectory" file="/home/runner/work/infracost/infracost/internal/hcl/parser.go:326" routine=2 currency=USD parent_provider=terragrunt_dir enable_cloud_org=false provider=terraform_dir parser_path=~/delme-infracost/modules/database project_path=~/delme-infracost/modules/database project_name= msg="Evaluating expressions..."
time="2022-08-19T15:56:54+02:00" level=info file="/home/runner/work/infracost/infracost/internal/ui/spin.go:41" func=github.com/infracost/infracost/internal/ui.NewSpinner msg="Starting: Evaluating Terraform directory"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).Run" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:171" project_path=~/delme-infracost/modules/database module_name=root provider=terraform_dir currency=USD module_source= parent_provider=terragrunt_dir enable_cloud_org=false routine=2 project_name= module_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database msg="evaluating top level context"
time="2022-08-19T15:56:54+02:00" level=debug module_source= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" enable_cloud_org=false provider=terraform_dir parent_provider=terragrunt_dir module_name=root routine=2 sync_usage=false module_path=~/delme-infracost/modules/database project_name= currency=USD parser_path=~/delme-infracost/modules/database project_path=~/delme-infracost/modules/database msg="starting context evaluation iteration 1"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" sync_usage=false parent_provider=terragrunt_dir currency=USD module_name=root project_name= project_path=~/delme-infracost/modules/database routine=2 provider=terraform_dir parser_path=~/delme-infracost/modules/database module_source= module_path=~/delme-infracost/modules/database msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug parser_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" module_path=~/delme-infracost/modules/database project_name= enable_cloud_org=false module_name=root module_source= sync_usage=false parent_provider=terragrunt_dir currency=USD project_path=~/delme-infracost/modules/database provider=terraform_dir routine=2 msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=upper enable_cloud_org=false routine=2 project_name= provider=terraform_dir block_name=random_string.server_name_suffix sync_usage=false currency=USD parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=id func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false currency=USD parent_provider=terragrunt_dir block_name=random_string.server_name_suffix project_name= project_path=~/delme-infracost/modules/database provider=terraform_dir routine=2 enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=random_string.server_name_suffix func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database sync_usage=false project_name= parent_provider=terragrunt_dir enable_cloud_org=false attribute_name=arn provider=terraform_dir currency=USD routine=2 msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir routine=2 sync_usage=false project_name= block_name=random_string.server_name_suffix currency=USD enable_cloud_org=false attribute_name=length parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=special parent_provider=terragrunt_dir routine=2 currency=USD enable_cloud_org=false project_path=~/delme-infracost/modules/database block_name=random_string.server_name_suffix provider=terraform_dir project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parser_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" project_name= currency=USD project_path=~/delme-infracost/modules/database module_source= module_name=root parent_provider=terragrunt_dir provider=terraform_dir routine=2 sync_usage=false module_path=~/delme-infracost/modules/database enable_cloud_org=false msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir currency=USD routine=2 attribute_name=administrator_login block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir project_name= sync_usage=false enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir project_name= currency=USD attribute_name=administrator_password project_path=~/delme-infracost/modules/database enable_cloud_org=false block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD block_name=azurerm_postgresql_flexible_server.example enable_cloud_org=false provider=terraform_dir attribute_name=id sync_usage=false parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database routine=2 msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database routine=2 enable_cloud_org=false parent_provider=terragrunt_dir attribute_name=arn sync_usage=false currency=USD block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD provider=terraform_dir routine=2 parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database sync_usage=false attribute_name=name project_name= enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir block_name=azurerm_postgresql_flexible_server.example routine=2 currency=USD project_path=~/delme-infracost/modules/database sync_usage=false attribute_name=resource_group_name enable_cloud_org=false project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir routine=2 parent_provider=terragrunt_dir block_name=azurerm_postgresql_flexible_server.example attribute_name=location enable_cloud_org=false project_path=~/delme-infracost/modules/database sync_usage=false project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database sync_usage=false parent_provider=terragrunt_dir routine=2 currency=USD block_name=azurerm_postgresql_flexible_server.example attribute_name=sku_name provider=terraform_dir project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD project_path=~/delme-infracost/modules/database enable_cloud_org=false provider=terraform_dir parent_provider=terragrunt_dir sync_usage=false block_name=output.server_name project_name= attribute_name=value msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" currency=USD module_name=root sync_usage=false module_path=~/delme-infracost/modules/database module_source= project_name= enable_cloud_org=false routine=2 parent_provider=terragrunt_dir parser_path=~/delme-infracost/modules/database provider=terraform_dir msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug module_name=root func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" routine=2 provider=terraform_dir project_name= sync_usage=false project_path=~/delme-infracost/modules/database module_source= currency=USD module_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir enable_cloud_org=false msg="starting context evaluation iteration 2"
time="2022-08-19T15:56:54+02:00" level=debug module_name=root func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" provider=terraform_dir module_source= sync_usage=false module_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir project_name= routine=2 parser_path=~/delme-infracost/modules/database enable_cloud_org=false currency=USD project_path=~/delme-infracost/modules/database msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" enable_cloud_org=false routine=2 module_path=~/delme-infracost/modules/database currency=USD sync_usage=false module_name=root project_name= provider=terraform_dir parser_path=~/delme-infracost/modules/database module_source= project_path=~/delme-infracost/modules/database msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir currency=USD project_name= routine=2 block_name=random_string.server_name_suffix sync_usage=false enable_cloud_org=false attribute_name=length provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=special block_name=random_string.server_name_suffix currency=USD routine=2 parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database sync_usage=false enable_cloud_org=false provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=random_string.server_name_suffix enable_cloud_org=false project_name= routine=2 currency=USD project_path=~/delme-infracost/modules/database attribute_name=upper parent_provider=terragrunt_dir provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir routine=2 project_name= block_name=random_string.server_name_suffix attribute_name=id currency=USD sync_usage=false project_path=~/delme-infracost/modules/database enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=arn func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir currency=USD project_name= block_name=random_string.server_name_suffix project_path=~/delme-infracost/modules/database sync_usage=false enable_cloud_org=false routine=2 provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" currency=USD provider=terraform_dir routine=2 module_source= module_path=~/delme-infracost/modules/database project_path=~/delme-infracost/modules/database enable_cloud_org=false module_name=root project_name= parser_path=~/delme-infracost/modules/database sync_usage=false msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=name func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false routine=2 currency=USD project_name= project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir provider=terraform_dir block_name=azurerm_postgresql_flexible_server.example enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=resource_group_name project_name= sync_usage=false routine=2 currency=USD block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=location func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example parent_provider=terragrunt_dir sync_usage=false project_name= enable_cloud_org=false project_path=~/delme-infracost/modules/database provider=terraform_dir routine=2 currency=USD msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database sync_usage=false project_name= block_name=azurerm_postgresql_flexible_server.example routine=2 parent_provider=terragrunt_dir provider=terraform_dir attribute_name=sku_name enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir attribute_name=administrator_login block_name=azurerm_postgresql_flexible_server.example sync_usage=false currency=USD project_name= routine=2 enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false project_name= block_name=azurerm_postgresql_flexible_server.example project_path=~/delme-infracost/modules/database currency=USD sync_usage=false attribute_name=administrator_password parent_provider=terragrunt_dir provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=id enable_cloud_org=false project_name= block_name=azurerm_postgresql_flexible_server.example routine=2 sync_usage=false parent_provider=terragrunt_dir provider=terraform_dir project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 currency=USD project_name= parent_provider=terragrunt_dir enable_cloud_org=false sync_usage=false project_path=~/delme-infracost/modules/database attribute_name=arn provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false attribute_name=value provider=terraform_dir project_path=~/delme-infracost/modules/database enable_cloud_org=false routine=2 project_name= block_name=output.server_name parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parser_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" sync_usage=false module_name=root module_source= project_name= currency=USD module_path=~/delme-infracost/modules/database routine=2 parent_provider=terragrunt_dir enable_cloud_org=false project_path=~/delme-infracost/modules/database provider=terraform_dir msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" parent_provider=terragrunt_dir currency=USD module_name=root project_name= project_path=~/delme-infracost/modules/database routine=2 parser_path=~/delme-infracost/modules/database module_path=~/delme-infracost/modules/database enable_cloud_org=false module_source= sync_usage=false msg="starting context evaluation iteration 3"
time="2022-08-19T15:56:54+02:00" level=debug module_source= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" enable_cloud_org=false currency=USD parent_provider=terragrunt_dir parser_path=~/delme-infracost/modules/database sync_usage=false module_name=root project_name= project_path=~/delme-infracost/modules/database routine=2 module_path=~/delme-infracost/modules/database provider=terraform_dir msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" currency=USD module_name=root project_name= module_path=~/delme-infracost/modules/database provider=terraform_dir module_source= project_path=~/delme-infracost/modules/database routine=2 parser_path=~/delme-infracost/modules/database sync_usage=false parent_provider=terragrunt_dir msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir routine=2 project_name= project_path=~/delme-infracost/modules/database currency=USD attribute_name=id sync_usage=false enable_cloud_org=false block_name=random_string.server_name_suffix msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 currency=USD enable_cloud_org=false project_name= block_name=random_string.server_name_suffix sync_usage=false attribute_name=arn parent_provider=terragrunt_dir provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=random_string.server_name_suffix sync_usage=false provider=terraform_dir project_name= currency=USD enable_cloud_org=false attribute_name=length routine=2 project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=random_string.server_name_suffix sync_usage=false currency=USD project_name= parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database routine=2 enable_cloud_org=false attribute_name=special msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir sync_usage=false enable_cloud_org=false block_name=random_string.server_name_suffix project_name= attribute_name=upper parent_provider=terragrunt_dir routine=2 currency=USD msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug module_name=root func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" provider=terraform_dir routine=2 parent_provider=terragrunt_dir currency=USD module_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database sync_usage=false enable_cloud_org=false module_source= project_name= project_path=~/delme-infracost/modules/database msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example attribute_name=name currency=USD sync_usage=false routine=2 project_path=~/delme-infracost/modules/database provider=terraform_dir project_name= parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= routine=2 currency=USD block_name=azurerm_postgresql_flexible_server.example attribute_name=resource_group_name parent_provider=terragrunt_dir enable_cloud_org=false project_path=~/delme-infracost/modules/database provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=location routine=2 block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir sync_usage=false currency=USD project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= enable_cloud_org=false routine=2 currency=USD provider=terraform_dir block_name=azurerm_postgresql_flexible_server.example parent_provider=terragrunt_dir attribute_name=sku_name project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example attribute_name=administrator_login enable_cloud_org=false currency=USD project_path=~/delme-infracost/modules/database provider=terraform_dir parent_provider=terragrunt_dir routine=2 project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= currency=USD sync_usage=false block_name=azurerm_postgresql_flexible_server.example attribute_name=administrator_password project_path=~/delme-infracost/modules/database provider=terraform_dir parent_provider=terragrunt_dir routine=2 msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= attribute_name=id parent_provider=terragrunt_dir enable_cloud_org=false sync_usage=false provider=terraform_dir currency=USD project_path=~/delme-infracost/modules/database block_name=azurerm_postgresql_flexible_server.example msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false attribute_name=arn sync_usage=false parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database currency=USD project_name= provider=terraform_dir routine=2 msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=value sync_usage=false parent_provider=terragrunt_dir block_name=output.server_name project_name= currency=USD routine=2 enable_cloud_org=false project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" enable_cloud_org=false provider=terraform_dir routine=2 parser_path=~/delme-infracost/modules/database sync_usage=false module_path=~/delme-infracost/modules/database module_name=root parent_provider=terragrunt_dir module_source= project_name= currency=USD msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug module_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluate" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:206" currency=USD project_path=~/delme-infracost/modules/database module_name=root sync_usage=false routine=2 module_source= project_name= parent_provider=terragrunt_dir enable_cloud_org=false provider=terraform_dir parser_path=~/delme-infracost/modules/database msg="evaluated outputs are the same a last context, exiting"
time="2022-08-19T15:56:54+02:00" level=debug module_source= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).loadModules" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:699" enable_cloud_org=false module_name=root project_name= provider=terraform_dir project_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database currency=USD sync_usage=false module_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir routine=2 msg="loading module calls"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).Run" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:176" enable_cloud_org=false project_name= currency=USD project_path=~/delme-infracost/modules/database module_path=~/delme-infracost/modules/database routine=2 sync_usage=false module_name=root parser_path=~/delme-infracost/modules/database module_source= provider=terraform_dir msg="evaluating context after loading modules"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" enable_cloud_org=false routine=2 parser_path=~/delme-infracost/modules/database module_name=root currency=USD module_source= parent_provider=terragrunt_dir provider=terraform_dir sync_usage=false project_path=~/delme-infracost/modules/database module_path=~/delme-infracost/modules/database msg="starting context evaluation iteration 1"
time="2022-08-19T15:56:54+02:00" level=debug module_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" provider=terraform_dir sync_usage=false routine=2 parser_path=~/delme-infracost/modules/database module_source= currency=USD parent_provider=terragrunt_dir module_name=root project_path=~/delme-infracost/modules/database enable_cloud_org=false project_name= msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" project_path=~/delme-infracost/modules/database module_source= project_name= parent_provider=terragrunt_dir enable_cloud_org=false provider=terraform_dir module_path=~/delme-infracost/modules/database currency=USD module_name=root routine=2 parser_path=~/delme-infracost/modules/database msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=random_string.server_name_suffix project_path=~/delme-infracost/modules/database currency=USD attribute_name=arn sync_usage=false routine=2 enable_cloud_org=false parent_provider=terragrunt_dir project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=random_string.server_name_suffix func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= attribute_name=length routine=2 provider=terraform_dir sync_usage=false currency=USD enable_cloud_org=false project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 sync_usage=false provider=terraform_dir parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database block_name=random_string.server_name_suffix currency=USD attribute_name=special project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= provider=terraform_dir sync_usage=false attribute_name=upper parent_provider=terragrunt_dir routine=2 block_name=random_string.server_name_suffix currency=USD enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false parent_provider=terragrunt_dir attribute_name=id routine=2 block_name=random_string.server_name_suffix sync_usage=false currency=USD project_path=~/delme-infracost/modules/database provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" parent_provider=terragrunt_dir module_path=~/delme-infracost/modules/database currency=USD routine=2 module_name=root project_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database sync_usage=false project_name= enable_cloud_org=false module_source= msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=resource_group_name provider=terraform_dir sync_usage=false enable_cloud_org=false project_path=~/delme-infracost/modules/database currency=USD routine=2 parent_provider=terragrunt_dir project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD project_path=~/delme-infracost/modules/database block_name=azurerm_postgresql_flexible_server.example enable_cloud_org=false project_name= provider=terraform_dir attribute_name=location routine=2 sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example sync_usage=false project_path=~/delme-infracost/modules/database routine=2 enable_cloud_org=false parent_provider=terragrunt_dir provider=terraform_dir attribute_name=sku_name currency=USD msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example sync_usage=false project_path=~/delme-infracost/modules/database routine=2 project_name= provider=terraform_dir attribute_name=administrator_login currency=USD enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 parent_provider=terragrunt_dir currency=USD provider=terraform_dir attribute_name=administrator_password project_name= sync_usage=false project_path=~/delme-infracost/modules/database enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false sync_usage=false provider=terraform_dir currency=USD attribute_name=id parent_provider=terragrunt_dir routine=2 project_name= project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir routine=2 project_name= enable_cloud_org=false project_path=~/delme-infracost/modules/database block_name=azurerm_postgresql_flexible_server.example sync_usage=false currency=USD attribute_name=arn msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false routine=2 sync_usage=false provider=terraform_dir project_name= attribute_name=name project_path=~/delme-infracost/modules/database currency=USD parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD sync_usage=false routine=2 block_name=output.server_name attribute_name=value project_path=~/delme-infracost/modules/database project_name= parent_provider=terragrunt_dir provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug module_source= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" currency=USD provider=terraform_dir project_name= parser_path=~/delme-infracost/modules/database sync_usage=false module_path=~/delme-infracost/modules/database project_path=~/delme-infracost/modules/database enable_cloud_org=false parent_provider=terragrunt_dir routine=2 module_name=root msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" parser_path=~/delme-infracost/modules/database currency=USD module_name=root provider=terraform_dir project_path=~/delme-infracost/modules/database routine=2 enable_cloud_org=false module_source= project_name= module_path=~/delme-infracost/modules/database sync_usage=false msg="starting context evaluation iteration 2"
time="2022-08-19T15:56:54+02:00" level=debug module_source= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" parser_path=~/delme-infracost/modules/database currency=USD project_path=~/delme-infracost/modules/database module_name=root project_name= module_path=~/delme-infracost/modules/database sync_usage=false provider=terraform_dir enable_cloud_org=false routine=2 parent_provider=terragrunt_dir msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" module_name=root parser_path=~/delme-infracost/modules/database project_name= routine=2 currency=USD provider=terraform_dir project_path=~/delme-infracost/modules/database sync_usage=false parent_provider=terragrunt_dir module_source= module_path=~/delme-infracost/modules/database msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD routine=2 project_name= block_name=random_string.server_name_suffix sync_usage=false project_path=~/delme-infracost/modules/database enable_cloud_org=false attribute_name=length parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= provider=terraform_dir currency=USD parent_provider=terragrunt_dir sync_usage=false enable_cloud_org=false block_name=random_string.server_name_suffix attribute_name=special project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD project_name= provider=terraform_dir block_name=random_string.server_name_suffix project_path=~/delme-infracost/modules/database enable_cloud_org=false attribute_name=upper sync_usage=false routine=2 msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD sync_usage=false attribute_name=id project_path=~/delme-infracost/modules/database provider=terraform_dir block_name=random_string.server_name_suffix project_name= parent_provider=terragrunt_dir routine=2 msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= project_path=~/delme-infracost/modules/database currency=USD block_name=random_string.server_name_suffix enable_cloud_org=false routine=2 attribute_name=arn sync_usage=false provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" parent_provider=terragrunt_dir provider=terraform_dir enable_cloud_org=false parser_path=~/delme-infracost/modules/database project_name= module_path=~/delme-infracost/modules/database module_name=root module_source= sync_usage=false currency=USD project_path=~/delme-infracost/modules/database msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=administrator_password func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD enable_cloud_org=false project_name= parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir routine=2 sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database block_name=azurerm_postgresql_flexible_server.example currency=USD sync_usage=false parent_provider=terragrunt_dir attribute_name=id enable_cloud_org=false routine=2 provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir attribute_name=arn currency=USD sync_usage=false enable_cloud_org=false block_name=azurerm_postgresql_flexible_server.example project_path=~/delme-infracost/modules/database routine=2 parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir block_name=azurerm_postgresql_flexible_server.example attribute_name=name enable_cloud_org=false project_path=~/delme-infracost/modules/database currency=USD routine=2 project_name= provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= attribute_name=resource_group_name project_path=~/delme-infracost/modules/database sync_usage=false routine=2 block_name=azurerm_postgresql_flexible_server.example currency=USD enable_cloud_org=false parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 sync_usage=false project_name= parent_provider=terragrunt_dir block_name=azurerm_postgresql_flexible_server.example attribute_name=location provider=terraform_dir enable_cloud_org=false project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 currency=USD project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir attribute_name=sku_name project_name= enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=administrator_login func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir currency=USD project_name= parent_provider=terragrunt_dir routine=2 enable_cloud_org=false project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=output.server_name project_name= currency=USD routine=2 attribute_name=value enable_cloud_org=false project_path=~/delme-infracost/modules/database provider=terraform_dir parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" project_name= currency=USD provider=terraform_dir enable_cloud_org=false module_path=~/delme-infracost/modules/database project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir module_source= module_name=root parser_path=~/delme-infracost/modules/database routine=2 msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug parser_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluate" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:206" project_path=~/delme-infracost/modules/database routine=2 provider=terraform_dir enable_cloud_org=false module_name=root project_name= module_path=~/delme-infracost/modules/database sync_usage=false parent_provider=terragrunt_dir currency=USD module_source= msg="evaluated outputs are the same a last context, exiting"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Evaluator).Run" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:182" currency=USD project_path=~/delme-infracost/modules/database enable_cloud_org=false parser_path=~/delme-infracost/modules/database sync_usage=false module_source= module_path=~/delme-infracost/modules/database routine=2 parent_provider=terragrunt_dir provider=terraform_dir module_name=root msg="evaluating context after expanding blocks"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" sync_usage=false module_name=root enable_cloud_org=false module_path=~/delme-infracost/modules/database currency=USD project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir project_name= routine=2 parser_path=~/delme-infracost/modules/database module_source= msg="starting context evaluation iteration 1"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" module_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database sync_usage=false parent_provider=terragrunt_dir module_name=root routine=2 module_source= project_name= provider=terraform_dir project_path=~/delme-infracost/modules/database enable_cloud_org=false msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" enable_cloud_org=false provider=terraform_dir parent_provider=terragrunt_dir module_source= project_name= routine=2 module_name=root module_path=~/delme-infracost/modules/database parser_path=~/delme-infracost/modules/database sync_usage=false currency=USD msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database sync_usage=false enable_cloud_org=false block_name=random_string.server_name_suffix project_name= currency=USD parent_provider=terragrunt_dir attribute_name=length provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug routine=2 func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= sync_usage=false project_path=~/delme-infracost/modules/database block_name=random_string.server_name_suffix parent_provider=terragrunt_dir attribute_name=special enable_cloud_org=false currency=USD provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=upper project_path=~/delme-infracost/modules/database routine=2 sync_usage=false provider=terraform_dir project_name= block_name=random_string.server_name_suffix currency=USD enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD enable_cloud_org=false parent_provider=terragrunt_dir provider=terraform_dir block_name=random_string.server_name_suffix routine=2 sync_usage=false project_name= attribute_name=id msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false project_path=~/delme-infracost/modules/database attribute_name=arn currency=USD enable_cloud_org=false routine=2 project_name= block_name=random_string.server_name_suffix parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug module_name=root func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" enable_cloud_org=false provider=terraform_dir module_source= module_path=~/delme-infracost/modules/database routine=2 sync_usage=false currency=USD project_name= parser_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database block_name=azurerm_postgresql_flexible_server.example parent_provider=terragrunt_dir project_name= attribute_name=administrator_login routine=2 sync_usage=false enable_cloud_org=false provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false attribute_name=administrator_password project_name= sync_usage=false parent_provider=terragrunt_dir routine=2 currency=USD block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" currency=USD sync_usage=false enable_cloud_org=false provider=terraform_dir parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database routine=2 attribute_name=id project_name= msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" routine=2 parent_provider=terragrunt_dir sync_usage=false block_name=azurerm_postgresql_flexible_server.example attribute_name=arn project_path=~/delme-infracost/modules/database currency=USD enable_cloud_org=false provider=terraform_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir enable_cloud_org=false block_name=azurerm_postgresql_flexible_server.example attribute_name=name project_path=~/delme-infracost/modules/database currency=USD project_name= routine=2 sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example attribute_name=resource_group_name provider=terraform_dir parent_provider=terragrunt_dir sync_usage=false currency=USD enable_cloud_org=false routine=2 project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=location func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= provider=terraform_dir enable_cloud_org=false routine=2 parent_provider=terragrunt_dir currency=USD block_name=azurerm_postgresql_flexible_server.example sync_usage=false project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= provider=terraform_dir parent_provider=terragrunt_dir currency=USD block_name=azurerm_postgresql_flexible_server.example routine=2 project_path=~/delme-infracost/modules/database attribute_name=sku_name enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir routine=2 parent_provider=terragrunt_dir currency=USD project_path=~/delme-infracost/modules/database project_name= attribute_name=value block_name=output.server_name sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" enable_cloud_org=false sync_usage=false routine=2 parser_path=~/delme-infracost/modules/database module_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir module_source= project_name= provider=terraform_dir project_path=~/delme-infracost/modules/database module_name=root msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluateStep" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:223" enable_cloud_org=false parser_path=~/delme-infracost/modules/database module_path=~/delme-infracost/modules/database project_name= provider=terraform_dir project_path=~/delme-infracost/modules/database routine=2 sync_usage=false module_source= module_name=root currency=USD msg="starting context evaluation iteration 2"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:527" module_source= module_path=~/delme-infracost/modules/database enable_cloud_org=false parser_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir currency=USD project_name= provider=terraform_dir module_name=root project_path=~/delme-infracost/modules/database routine=2 msg="adding provider azurerm to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" project_name= module_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir module_name=root sync_usage=false enable_cloud_org=false currency=USD parser_path=~/delme-infracost/modules/database module_source= routine=2 provider=terraform_dir msg="adding resource random_string.server_name_suffix to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false routine=2 project_name= project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir enable_cloud_org=false attribute_name=length provider=terraform_dir block_name=random_string.server_name_suffix msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_name= func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir enable_cloud_org=false currency=USD project_path=~/delme-infracost/modules/database attribute_name=special parent_provider=terragrunt_dir routine=2 block_name=random_string.server_name_suffix sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_name= currency=USD provider=terraform_dir parent_provider=terragrunt_dir attribute_name=upper project_path=~/delme-infracost/modules/database routine=2 block_name=random_string.server_name_suffix enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug project_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir block_name=random_string.server_name_suffix sync_usage=false provider=terraform_dir routine=2 currency=USD project_name= enable_cloud_org=false attribute_name=id msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=random_string.server_name_suffix project_name= sync_usage=false enable_cloud_org=false project_path=~/delme-infracost/modules/database routine=2 attribute_name=arn provider=terraform_dir currency=USD msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parser_path=~/delme-infracost/modules/database func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:534" module_source= parent_provider=terragrunt_dir module_path=~/delme-infracost/modules/database enable_cloud_org=false module_name=root sync_usage=false provider=terraform_dir project_name= currency=USD project_path=~/delme-infracost/modules/database routine=2 msg="adding resource azurerm_postgresql_flexible_server.example to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example currency=USD routine=2 attribute_name=id project_name= sync_usage=false project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" block_name=azurerm_postgresql_flexible_server.example project_path=~/delme-infracost/modules/database sync_usage=false attribute_name=arn provider=terraform_dir routine=2 project_name= currency=USD parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir project_name= enable_cloud_org=false sync_usage=false routine=2 parent_provider=terragrunt_dir block_name=azurerm_postgresql_flexible_server.example attribute_name=name project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug block_name=azurerm_postgresql_flexible_server.example func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" sync_usage=false enable_cloud_org=false currency=USD provider=terraform_dir attribute_name=resource_group_name routine=2 project_path=~/delme-infracost/modules/database project_name= parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" enable_cloud_org=false block_name=azurerm_postgresql_flexible_server.example project_name= parent_provider=terragrunt_dir currency=USD attribute_name=location provider=terraform_dir routine=2 project_path=~/delme-infracost/modules/database msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug parent_provider=terragrunt_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" project_path=~/delme-infracost/modules/database project_name= attribute_name=sku_name currency=USD block_name=azurerm_postgresql_flexible_server.example provider=terraform_dir enable_cloud_org=false routine=2 sync_usage=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=administrator_login project_name= provider=terraform_dir block_name=azurerm_postgresql_flexible_server.example sync_usage=false enable_cloud_org=false routine=2 project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug provider=terraform_dir func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" attribute_name=administrator_password currency=USD block_name=azurerm_postgresql_flexible_server.example routine=2 project_path=~/delme-infracost/modules/database sync_usage=false parent_provider=terragrunt_dir project_name= enable_cloud_org=false msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug attribute_name=value func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" provider=terraform_dir currency=USD sync_usage=false parent_provider=terragrunt_dir project_path=~/delme-infracost/modules/database routine=2 project_name= enable_cloud_org=false block_name=output.server_name msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Evaluator).getValuesByBlockType" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:514" module_name=root module_source= project_name= provider=terraform_dir module_path=~/delme-infracost/modules/database routine=2 parser_path=~/delme-infracost/modules/database project_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir enable_cloud_org=false sync_usage=false msg="adding output server_name to the evaluation context"
time="2022-08-19T15:56:54+02:00" level=debug currency=USD func="github.com/infracost/infracost/internal/hcl.(*Evaluator).evaluate" file="/home/runner/work/infracost/infracost/internal/hcl/evaluator.go:206" enable_cloud_org=false provider=terraform_dir module_path=~/delme-infracost/modules/database parent_provider=terragrunt_dir module_source= project_path=~/delme-infracost/modules/database sync_usage=false routine=2 module_name=root project_name= parser_path=~/delme-infracost/modules/database msg="evaluated outputs are the same a last context, exiting"
time="2022-08-19T15:56:54+02:00" level=debug enable_cloud_org=false func="github.com/infracost/infracost/internal/hcl.(*Attribute).Value" file="/home/runner/work/infracost/infracost/internal/hcl/attribute.go:127" parent_provider=terragrunt_dir sync_usage=false project_name= provider=terraform_dir routine=2 block_name=output.server_name project_path=~/delme-infracost/modules/database currency=USD attribute_name=value msg="fetching attribute value"
time="2022-08-19T15:56:54+02:00" level=debug sync_usage=false project_name= project_path=dependency routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug project_path=dependency routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false project_name= msg="time=2022-08-19T15:56:54+02:00 level=debug msg=Did not find any locals block: skipping evaluation. prefix=[~/delme-infracost/modules/dependency] "
time="2022-08-19T15:56:54+02:00" level=debug project_name= project_path=dependency routine=2 enable_cloud_org=false provider=terragrunt_dir currency=USD library=terragrunt sync_usage=false msg="time=2022-08-19T15:56:54+02:00 level=error msg=Module ~/delme-infracost/modules/dependency has finished with an error: invalid character ',' looking for beginning of value prefix=[~/delme-infracost/modules/dependency] "

Error: Failed to parse the Terragrunt code using the Terragrunt library:
1 error occurred:
	* invalid character ',' looking for beginning of value

For a list of known issues and workarounds, see: https://infracost.io/docs/features/terragrunt/

Hope that helps to track the issue down, otherwise let me know if I can provide additional information.

MHarutunian avatar Aug 19 '22 14:08 MHarutunian

@MHarutunian - Hi friend πŸ™‹β€β™‚οΈ πŸ‡¦πŸ‡² ✌️

armenr avatar Aug 21 '22 08:08 armenr

@armenr, @MHarutunian thank you πŸ™ . I was able to reproduce this with v0.10.8 but can no longer reproduce it with v0.10.13. Can you confirm if this is still an issue for you and re-open this issue if it is.

aliscott avatar Oct 24 '22 16:10 aliscott

@aliscott Just got around to test this and I can confirm that it now works for us with v0.10.13 - thank you very much!

MHarutunian avatar Nov 11 '22 15:11 MHarutunian

Thanks for confirming @MHarutunian πŸ™

aliscott avatar Nov 11 '22 16:11 aliscott