-
Notifications
You must be signed in to change notification settings - Fork 224
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
expose resolve_reference function in plan language #1365
Labels
Feature
New features and improvements.
Comments
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 1, 2019
This adds support for a `resolve_references` plan function that accepts a hash of target data, resolves all references in the hash, and returns the resolved target data.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 1, 2019
This adds support for a `resolve_references` plan function that accepts a hash of target data, resolves all references in the hash, and returns the resolved target data.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 1, 2019
This adds support for a `resolve_references` plan function that accepts a hash of target data, resolves all references in the hash, and returns the resolved target data.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 1, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This commit moves the resolve_references functions from Bolt::Inventory::Group2 to Bolt::Plugin.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This adds support for a `resolve_references` plan function that accepts a hash of target data, resolves all references in the hash, and returns the resolved target data.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 5, 2019
This adds support for a `resolve_references` plan function that accepts a hash of target data, resolves all references in the hash, and returns the resolved target data.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 6, 2019
This adds support for a `resolve_references` plan function that accepts a hash of target data, resolves all references in the hash, and returns the resolved target data.
nicklewis
added a commit
that referenced
this issue
Nov 8, 2019
(GH-1365) Add resolve_references plan function
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
I want to be able to look up values with the resolve_reference hook during plan execution. For example, when target systems change during plan execution (ie
terraform_apply
) I want to be able to useresolve_reference
to look up new targets.Describe the Solution You Would Like
expose
resolve_reference
as a plan function.Additional Context
In the case where resolve_reference is used to generate target data it should be up to the plan author to use the Target API to create targets based on the data returned from resolve_reference. (ie no magic adding to inventory).
Solution
resolve_references
function which accepts structured data and resolves all the references in that object. Returns the resolved data.The text was updated successfully, but these errors were encountered: