keypair fix
parent
48f70e706f
commit
bffb5efc5f
1
ec2.tf
1
ec2.tf
|
|
@ -2,6 +2,7 @@ resource "aws_instance" "k3s_box" {
|
||||||
ami = "ami-0889a44b331db0194" # amazon linux us-east-1
|
ami = "ami-0889a44b331db0194" # amazon linux us-east-1
|
||||||
instance_type = "t3.small"
|
instance_type = "t3.small"
|
||||||
associate_public_ip_address = true
|
associate_public_ip_address = true
|
||||||
|
key_name = aws_key_pair.k3s_box_kp.key_name
|
||||||
|
|
||||||
ebs_block_device {
|
ebs_block_device {
|
||||||
device_name = "/dev/sdx"
|
device_name = "/dev/sdx"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue