Skip to content

Commit

Permalink
# This is a combination of 4 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

# This is a combination of 2 commits.
# This is the 1st commit message:

Change logic for ssh security group (#4)

* Change logic for ssh security group

* [MegaLinter] Apply linters fixes

Co-authored-by: bsrodrigs <[email protected]>
# The commit message #2 will be skipped:

# Fix ssh security group (#5)
#

# The commit message #2 will be skipped:

# Fix merge conflict

# The commit message #3 will be skipped:

# Change logic for ssh security group (#4)
#
# * Change logic for ssh security group
# 
# * [MegaLinter] Apply linters fixes
# 
# Co-authored-by: bsrodrigs <[email protected]>

# The commit message #4 will be skipped:

# Fix ssh security group (#5)
#
  • Loading branch information
bsrodrigs committed Mar 30, 2022
1 parent 11a34af commit 67eaf67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rs-green-side.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ resource "aws_instance" "green_vpn_inst" {

ami = data.aws_ami.green_vpn_inst_ubuntu.id
instance_type = var.green_vpn_endpoint_instancetype

vpc_security_group_ids = concat([aws_security_group.green_vpn_inst_ipsec.id, aws_security_group.green_vpn_inst_green_traffic.id], try(aws_security_group.green_vpn_inst_ssh[0].id,[]))
subnet_id = module.green_vpc.public_subnets[0]
key_name = var.green_vpn_inst_keyname == "" ? aws_key_pair.green_vpn_inst[0].key_name : var.green_vpn_inst_keyname
Expand Down

0 comments on commit 67eaf67

Please sign in to comment.