Skip to content

Commit

Permalink
Merge pull request #276 from srounce/patch-1
Browse files Browse the repository at this point in the history
feat(terraform): re-export store path result from all-in-one module
  • Loading branch information
Mic92 authored Feb 21, 2024
2 parents 06e70b3 + d167023 commit 9e34fce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion terraform/all-in-one.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ No resources.

## Outputs

No outputs.
| Name | Description |
| ----------------------------------------------------- | ---------------------------------------------------------- |
| <a name="output_result"></a> [result](#output_result) | The resulting store path from building `nixos_system_attr` |

<!-- END_TF_DOCS -->
4 changes: 4 additions & 0 deletions terraform/all-in-one/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ module "nixos-rebuild" {
target_host = var.target_host
target_user = var.target_user
}

output "result" {
value = module.system-build.result
}

0 comments on commit 9e34fce

Please sign in to comment.