Skip to content

Commit

Permalink
Merge pull request #299 from xiao201208/fix/tech_134
Browse files Browse the repository at this point in the history
fix technical solution 134
  • Loading branch information
xiao201208 authored Jul 3, 2024
2 parents 29a062e + 0fc391f commit 48906be
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,30 +197,28 @@ Resources:
Fn::Sub: ${CommonName}-snat
SourceVSwitchIds:
- Ref: VSwitch1
- Ref: VSwitch2
SnatIp:
Fn::GetAtt:
- Eip
- EipAddress
Route:
Type: 'ALIYUN::ECS::Route'
Properties:
DestinationCidrBlock: '0.0.0.0/0'
RouteTableId:
Fn::GetAtt:
- Vpc
- RouteTableId
NextHopId:
Ref: NatGateway
NextHopType: NatGateway
Outputs:
EcsLoginAddress:
EcsLoginAddress1:
Description:
en: Ecs1 login address.
zh-cn: ECS1 登录地址。
Value:
Fn::Sub: >-
https://ecs-workbench.aliyun.com/?from=EcsConsole
&instanceType=ecs&regionId=${ALIYUN::Region}&instanceId=${EcsInstance1}
EcsLoginAddress2:
Description:
en: Ecs2 login address.
zh-cn: ECS2 登录地址。
Value:
Fn::Sub: >-
https://ecs-workbench.aliyun.com/?from=EcsConsole
&instanceType=ecs&regionId=${ALIYUN::Region}&instanceId=${EcsInstance2}
Metadata:
ALIYUN::ROS::Interface:
ParameterGroups:
Expand Down

0 comments on commit 48906be

Please sign in to comment.