-
Notifications
You must be signed in to change notification settings - Fork 1
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
Weird way to send a private message, I know :-D #1
Comments
hi again! Indeed I never see people send message this way. I praise your creativity 😄 I saw your message a bit late. After I digged a little deeper. I found this commit in the latest aws terrraform provider (v3.37.0) which I think solves our issue, so I have deleted most of the PoC resources (It's easier to delete the recreate using terraform instead of import imo) I will screenshot once things are up and running again tho 👍 |
spoke too soon, actually |
plot twist, an ongoing fix just got merged today! hashicorp/terraform-provider-aws#15785 Likely be released tomorrow. I have things up and running now. ASG set up and is scaling. What do you need exactly? @vasylenko |
@OliverKoo wonderful! 🥳 |
@vasylenko sorry for the late reply, went on vacation and got distracted when I get back. 😅 In the ASG I use a launch template and the critical part of Launch Template is to have tenancy and tenancy host group set the host group is created under License Manager which is well documented here https://docs.aws.amazon.com/license-manager/latest/userguide/host-resource-groups.html |
Hey @OliverKoo! Sorry in advance for lurking into this private convo 😅 When you were messing with this did you ever get an error like this?
It seems to imply that the resource group is not configured with If it helps and you'd be willing to take a look, I've extracted a self-contained example of what I'm trying: (https://gist.github.com/thomasdesr/be6be7d2829726408db77f783d640c82) :D |
I figured it out! :D I was misconfiguring the License such that it wouldn't work with the Host Resource group correctly. The error message was accurate although confusing. Changing the earlier link like this (https://gist.github.com/thomasdesr/caecee66ffc566ab83d6d634c80a5be4) fixes the issue and correctly launches an asg of mac1.metal instances. Thanks for figuring this out the first time, both of your convos were super helpful. And knowing it could be done meant it had to me doing something wrong XD |
@OliverKoo Hi again :) Please excuse me for using your repo as a chat, but GitHub does not allow sending a private message.
I just wanted to ask if you could share a screenshot with Host resource group settings that allowed you to automatically allocated mac1 Hosts. When I PoC'ed that briefly, I could not make it work in a way that host would allocate automatically (and LT was failing to launch the instance because there were no hosts allocated). But looks like I missed something.
I am referring to the small conversation we've had here: hashicorp/terraform#28531
The text was updated successfully, but these errors were encountered: