Skip to content

Commit

Permalink
Change instance type of bastion
Browse files Browse the repository at this point in the history
  • Loading branch information
essa committed Feb 28, 2024
1 parent 6a43619 commit 3cb09ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/barcelona/network/bastion_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def build_resources
add_resource("AWS::AutoScaling::LaunchConfiguration", "BastionLaunchConfiguration") do |j|
j.IamInstanceProfile ref("BastionProfile")
j.ImageId AMI_IDS[district.region]
j.InstanceType "t3.micro"
j.InstanceType "t3.small"
j.SecurityGroups [ref("SecurityGroupBastion")]
j.AssociatePublicIpAddress true
j.UserData user_data
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/barcelona/network/network_stack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
"BastionLaunchConfiguration" => {
"Type" => "AWS::AutoScaling::LaunchConfiguration",
"Properties" => {
"InstanceType" => "t3.micro",
"InstanceType" => "t3.small",
"MetadataOptions"=>{"HttpTokens"=>"required"},
"IamInstanceProfile" => {"Ref" => "BastionProfile"},
"ImageId" => kind_of(String),
Expand Down

0 comments on commit 3cb09ed

Please sign in to comment.