-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add ability for a resource to "use" another resources output automatically #72
Add ability for a resource to "use" another resources output automatically #72
Commits on Jan 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4d316cf - Browse repository at this point
Copy the full SHA 4d316cfView commit details -
Add check for use resources IDs
Ensure that resource IDs passed into the use field exist and are in the same resource group as the current resource.
Configuration menu - View commit details
-
Copy full SHA for b35e89d - Browse repository at this point
Copy the full SHA b35e89dView commit details -
Convert validateConfig functions to be consistent
Changes CheckResourcesAndGroupNames to be a standalone function that returns error and ResourceToGroup map. Also removed the -c flag from run_examples to remove the deprecation warning.
Configuration menu - View commit details
-
Copy full SHA for 3d62508 - Browse repository at this point
Copy the full SHA 3d62508View commit details
Commits on Jan 6, 2022
-
Add application of "Use" resource in expand
Added a step in exand that applies any matching output in "use" resources that matches the input of the current resource. In addition, tests have been reorganized to decrease the size of the test_config.go file.
Configuration menu - View commit details
-
Copy full SHA for 1679f22 - Browse repository at this point
Copy the full SHA 1679f22View commit details -
Add tests for new use field functions
Add tests for: * getResourceByID * useResource * appendAsSlice * getResourceByVarName Various fixes to support tests also made
Configuration menu - View commit details
-
Copy full SHA for 3a49407 - Browse repository at this point
Copy the full SHA 3a49407View commit details -
Configuration menu - View commit details
-
Copy full SHA for b30c4e2 - Browse repository at this point
Copy the full SHA b30c4e2View commit details -
Adding a few function comments and cleaning up a test config
Configuration menu - View commit details
-
Copy full SHA for 5588df0 - Browse repository at this point
Copy the full SHA 5588df0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a6334 - Browse repository at this point
Copy the full SHA 35a6334View commit details
Commits on Jan 11, 2022
-
Allow for list merging of "use" resources
This commit adds the ability to use multiple resource output lists as a single setting by merging the lists. This is done using the flatten function in terraform and with a new feild in BlueprintConfig with functions to be applied to settings in the main.tf file.
Configuration menu - View commit details
-
Copy full SHA for c71cf21 - Browse repository at this point
Copy the full SHA c71cf21View commit details -
Configuration menu - View commit details
-
Copy full SHA for c198a17 - Browse repository at this point
Copy the full SHA c198a17View commit details
Commits on Jan 12, 2022
-
Move applyFunctions to Resources and rename
For simplicity, move applyFunctions into the YamlConfig so it can be directly accessed during and after expand in the same way. This allows a call to expand to produce a YAML that can be used again in create with no differences in the final result. The name was also changed to WrapSettingsWith to be more explanatory and fit better under the Resource struct.
Configuration menu - View commit details
-
Copy full SHA for c5622cd - Browse repository at this point
Copy the full SHA c5622cdView commit details -
Move top level functions into correct files
Moves expand() and validate() to the expand.go and validate.go file respectively for clarity and to keep config.go as top-level as possible.
Configuration menu - View commit details
-
Copy full SHA for f07d62e - Browse repository at this point
Copy the full SHA f07d62eView commit details -
Makes a number of changes in the useResource and applyUseResource function to decrease complexity and increase readabiltiy.
Configuration menu - View commit details
-
Copy full SHA for 2c9067b - Browse repository at this point
Copy the full SHA 2c9067bView commit details
Commits on Jan 13, 2022
-
* Pass in resource Inputs and Used resource outputs directly to UseResource rather than the ResourceInfo structs * Improve Comment Clarity * Improve error output details
Configuration menu - View commit details
-
Copy full SHA for 18c12dc - Browse repository at this point
Copy the full SHA 18c12dcView commit details