File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
addons/aws/modules/bastion Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ resource "aws_launch_template" "bastion_instance" {
33 name_prefix = " ${ local . name_prefix } -"
44 image_id = data. aws_ami . amazon_linux_2023 . id
55 instance_type = var. instance_type
6- key_name = var. key_name
76
87 iam_instance_profile {
98 name = var. iam_instance_profile
Original file line number Diff line number Diff line change @@ -42,13 +42,7 @@ variable "volume_size" {
4242variable "device_name" {
4343 description = " The device name for the EBS volume"
4444 type = string
45- default = " /dev/sdf"
46- }
47-
48- variable "key_name" {
49- description = " The name of the key pair to use for the instance"
50- type = string
51- default = " " // Set empty to disable key pair
45+ default = " /dev/xvda"
5246}
5347
5448variable "iam_instance_profile" {
Original file line number Diff line number Diff line change 11terraform 1.13.3
2- trivy 0.47.0
2+ trivy 0.69.2
You can’t perform that action at this time.
0 commit comments