Skip to content

Commit

Permalink
Update availability zone (#410)
Browse files Browse the repository at this point in the history
Signed-off-by: rasel <rasel@appscode.com>
  • Loading branch information
Superm4n97 authored Dec 2, 2024
1 parent bbcbc6c commit 09fcd8d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,14 @@ Resources:
Properties:
VpcId: !Ref VPC
CidrBlock: 10.5.0.0/24
AvailabilityZone: !Join ['', [ !Ref AWS::Region, 'a'] ]
AvailabilityZone: {
"Fn::Select" : [
0,
{
"Fn::GetAZs" : !Ref AWS::Region
}
]
}
Tags:
- Key: Name
Value: !Ref AWS::StackName
Expand Down

0 comments on commit 09fcd8d

Please sign in to comment.