diff --git a/CHANGELOG.md b/CHANGELOG.md index f064a788..9baa4af8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.40.2](https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.40.1...v0.40.2) (2022-04-25) + + +### Bug Fixes + +* Outputs for pool need to account for complexity ([#1970](https://github.com/philips-labs/terraform-aws-github-runner/issues/1970)) ([2d92906](https://github.com/philips-labs/terraform-aws-github-runner/commit/2d92906c54675b502d9bee7012f031db9f3e2943)) + ### [0.40.1](https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.40.0...v0.40.1) (2022-04-25) diff --git a/modules/runners/lambdas/runners/package.json b/modules/runners/lambdas/runners/package.json index 7c165fe2..560077be 100644 --- a/modules/runners/lambdas/runners/package.json +++ b/modules/runners/lambdas/runners/package.json @@ -22,7 +22,7 @@ "@types/jest": "^27.4.1", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", - "@vercel/ncc": "^0.33.3", + "@vercel/ncc": "^0.33.4", "eslint": "^7.32.0", "eslint-plugin-prettier": "4.0.0", "jest": "27.5.1", diff --git a/modules/runners/lambdas/runners/yarn.lock b/modules/runners/lambdas/runners/yarn.lock index c3f0ba7a..f365da63 100644 --- a/modules/runners/lambdas/runners/yarn.lock +++ b/modules/runners/lambdas/runners/yarn.lock @@ -1707,10 +1707,10 @@ "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" -"@vercel/ncc@^0.33.3": - version "0.33.3" - resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.33.3.tgz#aacc6b3ea9f7b175e0c9a18c9b97e4005a2f4fcc" - integrity sha512-JGZ11QV+/ZcfudW2Cz2JVp54/pJNXbsuWRgSh2ZmmZdQBKXqBtIGrwI1Wyx8nlbzAiEFe7FHi4K1zX4//jxTnQ== +"@vercel/ncc@^0.33.4": + version "0.33.4" + resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.33.4.tgz#e44a87511f583b7ba88e4b9ae90eeb7ba252b872" + integrity sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg== abab@^2.0.3, abab@^2.0.5: version "2.0.5" diff --git a/modules/runners/outputs.tf b/modules/runners/outputs.tf index 9fa32233..21354ce0 100644 --- a/modules/runners/outputs.tf +++ b/modules/runners/outputs.tf @@ -23,5 +23,5 @@ output "role_scale_down" { } output "role_pool" { - value = length(var.pool_config) == 0 ? {} : module.pool.role_pool + value = length(var.pool_config) == 0 ? null : module.pool[0].role_pool } diff --git a/outputs.tf b/outputs.tf index eab083e2..d72f9acc 100644 --- a/outputs.tf +++ b/outputs.tf @@ -9,6 +9,7 @@ output "runners" { role_runner = module.runners.role_runner role_scale_up = module.runners.role_scale_up role_scale_down = module.runners.role_scale_down + role_pool = module.runners.role_pool } }