Skip to content

examples: add a common helper for operations to be run in all manifests of an example #59

@muvaf

Description

@muvaf

What problem are you facing?

In #15 (comment) , @ulucinar proposed a concept called ExampleModifier that is a function that's applied to example manifest and also its dependencies but we didn't implement it because it was too close to what config.ResourceOptions are doing.

How could Terrajet help solve your problem?

We can implement a common helper function whose input is a func that operates the same way ExampleModifier does and returns a config.ResourceOption that runs that function through all manifests. This would help us write less code when we'd like to modify examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions