Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow non-literal expressions in module blocks #73

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Aug 18, 2021

As reported in hashicorp/terraform-ls#620 prior to this patch, references would not be recognized within the module block, except for static/core attributes like count:

module "example" {
  source "..."
  foo = var.bar # HERE
}

This patch makes the module use the same the expression type generation logic we use for all other provider-specific attributes (applied to most attributes within provider, resource and data blocks).

@jpogran jpogran merged commit c137cb2 into main Aug 23, 2021
@jpogran jpogran deleted the f-module-var-expressions branch August 23, 2021 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants