如何在Transit Gateway attachment 中启用ApplianceModeSupport?

0

【以下的问题经过翻译处理】 根据在线文档,我尝试使用以下CLI命令启用ApplianceModeSupport:

C:\Users\Pablo>aws ec2 modify-transit-gateway-vpc-attachment --transit-gateway-attachment-id tgw-attach-0b6cb80499a53XXXX --options ApplianceModeSupport=enable

Parameter validation failed:
Unknown parameter in Options: "ApplianceModeSupport", must be one of: DnsSupport, Ipv6Support

我尝试更改DnsSupport选项以确保我在正确的区域和Transit Gateway attachment,命令能够正常执行:

C:\ Users \ Pablo>aws ec2 modify-transit-gateway-vpc-attachment --transit-gateway-attachment-id tgw-attach-0b6cb80499a5383e9 --options DnsSupport = disable

{
 “TransitGatewayVpcAttachment”:{
    “TransitGatewayAttachmentId”:“tgw-attach-0b6cb80499a53XXXX”,
    “TransitGatewayId”:“tgw-01e5ee317cd46YYY3”,
    “VpcId”:“vpc-02e3c21f4d7dacZZZ”,
    “VpcOwnerId”:“95107885XXXX”,
    “State”:“modifying”,
    “SubnetIds”:[
        “subnet-0c24bb7aae4deeXXX”,
        “subnet-064acc2ad5667aXXX”,
        “subnet-03b6351363cd1cXXX”
    ],
    “CreationTime”:“2022-09-27T180959 + 0000”,
    “Options”:{
        “DnsSupport”:“disable”,
        “Ipv6Support”:“disable”
    }
 }
}

看起来这个Transit Gateway attachment没有这个选项?

profile picture
EXPERT
asked 6 months ago55 views
1 Answer
0

【以下的回答经过翻译处理】 原因是使用了旧版本命令行工具,最新的版本(2.7.35),问题得到了解决。

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions