Skip to content

Commit

Permalink
remove bastion
Browse files Browse the repository at this point in the history
Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]>
  • Loading branch information
gnanakeethan committed Apr 2, 2024
1 parent d52c590 commit 0c85f72
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 482 deletions.
34 changes: 17 additions & 17 deletions wordpress-efs/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -705,23 +705,23 @@ Conditions:

Resources:

bastion:
Condition: AvailableAWSRegion
DependsOn: [ newvpc, securitygroups ]
Type: AWS::Serverless::Application
Properties:
Parameters:
BastionInstanceType:
!Ref BastionInstanceType
BastionSecurityGroup:
!GetAtt [ securitygroups, Outputs.BastionSecurityGroup ]
EC2KeyName:
!Ref EC2KeyName
NumberOfSubnets:
!Ref NumberOfAZs
Subnet:
!GetAtt [ newvpc, Outputs.PublicSubnet ]
Location: ./wordpress-03-bastion.yaml
# bastion:
# Condition: AvailableAWSRegion
# DependsOn: [ newvpc, securitygroups ]
# Type: AWS::Serverless::Application
# Properties:
# Parameters:
# BastionInstanceType:
# !Ref BastionInstanceType
# BastionSecurityGroup:
# !GetAtt [ securitygroups, Outputs.BastionSecurityGroup ]
# EC2KeyName:
# !Ref EC2KeyName
# NumberOfSubnets:
# !Ref NumberOfAZs
# Subnet:
# !GetAtt [ newvpc, Outputs.PublicSubnet ]
# Location: ./wordpress-03-bastion.yaml
cloudfront:
Condition: DeployCloudFront
DependsOn: [ publicalb, web ]
Expand Down
Loading

0 comments on commit 0c85f72

Please sign in to comment.