Provides a resource to manage whether serial console access is enabled for your AWS account in the current AWS region.
resource "aws_ec2_serial_console_access" "example" {
enabled = true
}
This resource supports the following arguments:
enabled
- (Optional) Whether or not serial console access is enabled. Valid values are true
or false
. Defaults to true
.This resource exports no additional attributes.
In Terraform v1.5.0 and later, use an import
block to import serial console access state. For example:
import {
to = aws_ec2_serial_console_access.example
id = "default"
}
Using terraform import
, import serial console access state. For example:
% terraform import aws_ec2_serial_console_access.example default