You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: InvalidFleetConfig The fleet configuration contains duplicate instance pools. #2904
update: this was the default configuration. I also tried deploying the module with multiple_runners. I believe the following code is failing and I have no idea what is going on. This is my first time working with spot instances so I really appreciate any help.
changed the title [-]InvalidFleetConfig The fleet configuration contains duplicate instance pools.[/-][+]Error: InvalidFleetConfig The fleet configuration contains duplicate instance pools.[/+]on Jan 22, 2023
yeah I figured it out from that exact post. in my test environment, i have multiple subnets in the same az. just providing a single private subnet resolved my problem.
@npalm Maybe it'd be a good idea to highlight this requirement (configured subnets must reside in different AZs) in the subnet_ids input documentation?
@npalm Maybe it'd be a good idea to highlight this requirement (configured subnets must reside in different AZs) in the subnet_ids input documentation?
I agree since I was able to figure it out by chance after several hours of reaearching on a different repo.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
Just a heads-up: this can also occur (false/misleading positive) if one accidentally enters duplicate EC2 instance-types in the list-of-string supplied to this module. Lesson learned: wrapped it with the distinct() function.
Activity
dgokcin commentedon Jan 22, 2023
update: this was the default configuration. I also tried deploying the module with multiple_runners. I believe the following code is failing and I have no idea what is going on. This is my first time working with spot instances so I really appreciate any help.
Thanks
[-]InvalidFleetConfig The fleet configuration contains duplicate instance pools.[/-][+]Error: InvalidFleetConfig The fleet configuration contains duplicate instance pools.[/+]jpalomaki commentedon Jan 23, 2023
@dgokcin Do your private subnets (which you seem to inject via a terragrunt dependency) reside in different availability zones?
(Quick google search returns an issue in an unrelated repo, but exhibiting the same error message)
dgokcin commentedon Jan 23, 2023
yeah I figured it out from that exact post. in my test environment, i have multiple subnets in the same az. just providing a single private subnet resolved my problem.
thanks!
jpalomaki commentedon Jan 24, 2023
@npalm Maybe it'd be a good idea to highlight this requirement (configured subnets must reside in different AZs) in the
subnet_idsinput documentation?dgokcin commentedon Jan 24, 2023
I agree since I was able to figure it out by chance after several hours of reaearching on a different repo.
github-actions commentedon Feb 24, 2023
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
IAXES commentedon Mar 25, 2024
Just a heads-up: this can also occur (false/misleading positive) if one accidentally enters duplicate EC2 instance-types in the list-of-string supplied to this module. Lesson learned: wrapped it with the
distinct()function.garbelini commentedon Apr 12, 2024
@IAXES You saved me what could have been hours of frustration!! ❤️ ❤️ ❤️