hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

[Enhancement]: aws_ec2_host: Add attribute host-maintenace #30731

Open DingGGu opened 1 year ago

DingGGu commented 1 year ago

Description

aws ec2 dedicate host have attribute host-maintence.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_ec2_host" "host" {
  availability_zone = each.value

  instance_type    = "m6i.16xlarge"
  auto_placement   = "off"
  host_recovery    = "on"
  host_maintenance = "on"
}

References

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html?icmpid=docs_ec2_console#dedicated-hosts-maintenance-basics-limitations

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

sanieldalib commented 1 year ago

+1 I would really appreciate this addition as well!