You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gdowmont
changed the title
Parsing failure due to provider-defined functions in terraform
[Terraform] Parsing failure due to provider-defined functions in terraform
Jan 13, 2025
Checkov should not have parsing errors with files containing provider-defined functions in terraform.
This was implemented in terraform 1.8 (https://www.hashicorp.com/blog/terraform-1-8-improves-extensibility-with-provider-defined-functions).
Example syntax (this is specific to AWS provider https://registry.terraform.io/providers/hashicorp/aws/latest/docs/functions/arn_build ) looks like:
identifiers = [provider::aws::arn_build("aws", "iam", "", data.aws_caller_identity.current.account_id, "root")]
Steps to replicate/test:
The text was updated successfully, but these errors were encountered: