Skip to content

Terraform validate on Ephmereal outputs #38309

@blazing234

Description

@blazing234

Terraform Version

V15

Terraform Configuration Files

Nothing relevant

Debug Output

...debug output, or link to a gist...

Expected Behavior

Terraform validate shouldn't error out with Ephmereal outputs for modules which are only intended to be used as remote modules.

Apparently this was fixed in PR #37850, but it still errors.

Actual Behavior

Ephmereal outputs are not allowed in the context of a root module.

Steps to Reproduce

Define an Ephmereal resource
Output resource as Ephmereal
Terraform validate

Additional Context

No response

References

No response

Generative AI / LLM assisted development?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions