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.77k stars 9.12k forks source link

[Enhancement]: Add option to modify enclave settings of an existing ec2 #38200

Open himangshuj opened 3 months ago

himangshuj commented 3 months ago

Description

I created a cloud9 instance . I need to have nitro enclave options enabled of the created ec2 instance. I see there is an option to create an ec2 instance with enclave options but I don't see the option for an already created instances. Seems AWS cli supports the option. Screenshot 2024-06-30 at 8 14 00 AM

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

Potential Terraform Configuration

resource aws_instance_settings {
enclave_options = {
enabled = true
}
}

References

https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html

Would you like to implement a fix?

Yes

github-actions[bot] commented 3 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue