View Source aws_ec2_instance_connect (aws v1.0.4)
Summary
Functions
Pushes an SSH public key to the specified EC2 instance.
Pushes an SSH public key to the specified EC2 instance for use by the specified user.
Functions
Pushes an SSH public key to the specified EC2 instance.
The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html in the Amazon EC2 User Guide.Pushes an SSH public key to the specified EC2 instance for use by the specified user.
The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html in the Amazon EC2 User Guide.