keypair fix

terraform
Daniel Mikula 2023-05-17 09:07:25 +02:00
parent 48f70e706f
commit bffb5efc5f
1 changed files with 1 additions and 0 deletions

1
ec2.tf
View File

@ -2,6 +2,7 @@ resource "aws_instance" "k3s_box" {
ami = "ami-0889a44b331db0194" # amazon linux us-east-1
instance_type = "t3.small"
associate_public_ip_address = true
key_name = aws_key_pair.k3s_box_kp.key_name
ebs_block_device {
device_name = "/dev/sdx"