Skip to content

Conversation

@tpdownes
Copy link

@tpdownes tpdownes commented Aug 12, 2025

Resolves #7.

In private code, I am using a provider function with this syntax:

provider::azurerm::parse_resource_id(yara.id)["resource_name"]

Before

$ ~/repos/terraform-diff/terraform-diff -range HEAD~...HEAD  ./my/path
failed getting dependencies for folder ./my/path: Error processing: Invalid 'for' expression: Extra characters after the end of the 'for' expression.

After

$ ~/repos/terraform-diff/terraform-diff -range HEAD~...HEAD  ./my/path
./my/path

@tpdownes
Copy link
Author

@yannh PTAL. Thank you for this tool!


- name: build
run: make docker-image
run: docker build -t ${{ github.repository }}:latest .
Copy link
Author

@tpdownes tpdownes Aug 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This enables me to fork the repo and publish my own image as a workaround to #7. Without this, the publish-branch step fails.

@ohookins
Copy link
Contributor

Cheers @tpdownes !

@ohookins
Copy link
Contributor

@yannh could we get this merged?

@yannh yannh merged commit adc1d61 into contentful-labs:master Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

provider functions trip up terraform-diff

3 participants