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
I'm getting The argument "url" is required, but was not set. when running terraform validate on a child module that contains ES resources with no provider block set.
Additional Information:
Terraform version: 0.14.11
Provider version: 1.6.1
The plan, apply, and import command all work (when run on the calling root module) with the same configuration, it is just validate that is failing.
This error can be fixed by declaring the elasticsearch provider block in the child module but I would like to avoid it to comply with guidelines re: child module provider blocks.
The text was updated successfully, but these errors were encountered:
zjanc
changed the title
terraform validate returns The argument "url" is required, but was not set. when passing ES provider to child moduleterraform validate returns The argument "url" is required, but was not set. on child module with no provider block
Sep 14, 2021
Hi,
I'm getting
The argument "url" is required, but was not set.
when runningterraform validate
on a child module that contains ES resources with no provider block set.Additional Information:
The
plan
,apply
, andimport
command all work (when run on the calling root module) with the same configuration, it is justvalidate
that is failing.This error can be fixed by declaring the elasticsearch provider block in the child module but I would like to avoid it to comply with guidelines re: child module provider blocks.
The text was updated successfully, but these errors were encountered: