Skip to content

Commit

Permalink
fix ipv6 cidr block
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao201208 committed Apr 23, 2024
1 parent b6f4fc5 commit 93be999
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion documents/help/ecs/configure-IPv6-address-for-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ Parameters:
CommonName:
Type: String
Default: config-ipv6
Ipv6CidrBlockNumber:
Type: Number
AssociationProperty: AutoCompleteInput
AssociationPropertyMetadata:
Length: 2
CharacterClasses:
- Class: number
min: 1
Conditions:
CreateInstance:
Fn::Equals:
Expand Down Expand Up @@ -524,6 +532,8 @@ Resources:
Fn::GetAtt:
- DsVsw
- Ipv6CidrBlock
Ipv6CidrBlockNumber:
Ref: Ipv6CidrBlockNumber
TemplateBody:
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Expand All @@ -544,6 +554,8 @@ Resources:
Ipv6InternetBandwidthId:
Type: String
Default: null
Ipv6CidrBlockNumber:
Type: Number
Conditions:
EnableIpv6ForVpc:
Fn::Equals:
Expand Down Expand Up @@ -599,7 +611,8 @@ Resources:
API: ModifyVSwitchAttribute
Method: POST
Parameters:
Ipv6CidrBlock: 252
Ipv6CidrBlock:
Ref: Ipv6CidrBlockNumber
VSwitchId:
Ref: VswId
EnableIPv6: true
Expand Down Expand Up @@ -663,5 +676,6 @@ Metadata:
- EcsInstanceId
Hidden:
- CommonName
- Ipv6CidrBlockNumber
TemplateTags:
- acs:document-help:ecs:配置ECS实例的IPv6地址

0 comments on commit 93be999

Please sign in to comment.