Commit 9e95022
committed
fix(runners): fix type mismatch in pool role conditional
The conditional for the runner role in pool.tf returned inconsistent types:
the true branch produced an object with a single 'arn' attribute while the
false branch returned the full aws_iam_role resource (16 attributes).
Terraform requires both branches to have consistent types. Move the
conditional inside the object so both branches produce a string for the
'arn' key.
Fixes type error introduced in github-aws-runners#4875.
Upstream-PR: github-aws-runners#51561 parent 038a756 commit 9e95022
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments