Skip to content

Commit

Permalink
Update autoscaling_builder.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Mata committed Jul 24, 2023
1 parent 7b6b091 commit 19659c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/barcelona/network/autoscaling_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AutoscalingBuilder < CloudFormation::Builder

def ebs_optimized_by_default?
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html
!!(instance_type =~ /\A(a1|c4|c5.?|d2|f1|g3.?|h1|i3|m4|m5.?|m6.+||p2|p3(dn)?|r4|r5.?|t3|u-.*|x1.?|z1d)\..*\z/)
!!(instance_type =~ /\A(a1|c4|c5.?|d2|f1|g3.?|h1|i3|m4|m5.?|m6.+|p2|p3(dn)?|r4|r5.?|t3|u-.*|x1.?|z1d)\..*\z/)
end

def build_resources
Expand Down

0 comments on commit 19659c6

Please sign in to comment.