The instance can be started normally on the mac dedicated host created by terraform
Actual Behavior
The instance of the mac dedicated host created by terraform cannot be started properly. The instance status check always fails, so the mac instance cannot be used normally. However, when I create a dedicated host on the console and use the hostid of the dedicated host to create an instance in terraform, it can be used normally
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
v1.4.0
AWS Provider Version
v4.67.0
Affected Resource(s)
aws_ec2_host & aws_instance
Expected Behavior
The instance can be started normally on the mac dedicated host created by terraform
Actual Behavior
The instance of the mac dedicated host created by terraform cannot be started properly. The instance status check always fails, so the mac instance cannot be used normally. However, when I create a dedicated host on the console and use the hostid of the dedicated host to create an instance in terraform, it can be used normally
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
allocate mac dedicated host
apply aws ec2 instance
Steps to Reproduce
Using the above configuration, apply normally
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None