terraform-provider-aws icon indicating copy to clipboard operation
terraform-provider-aws copied to clipboard

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

Open himangshuj opened this issue 2 months ago • 1 comments

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)

  • aws_instance

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

himangshuj avatar Jun 30 '24 15:06 himangshuj