当尝试列出waf-regional的标签时:
aws waf-regional list-tags-for-resource --resource-arn <web-acl-arn-here>我得到了以下响应
An error occurred (WAFInvalidParameterException) when calling the ListTagsForResource operation:根据文档,这似乎是正确的。
对普通waf的调用也是一样的:
aws waf list-tags-for-resource --resource-arn <web-acl-arn-here>
{
"NextMarker": "",
"TagInfoForResource": {
"ResourceARN": "<web-acl-arn-here>",
"TagList": []
}
}尝试将标签添加到网站管家web-acl会得到相同的结果:
aws waf-regional tag-resource --resource-arn <web-acl-arn-here> --tags Key=Name,Value=TestRegionalv1
An error occurred (WAFInvalidParameterException) when calling the TagResource operation:在我看来,waf-regional根本不支持标签,但文档似乎指出它是受支持的。有没有人知道这是怎么回事?
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf-regional/tag-resource.html https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf-regional/list-tags-for-resource.html
发布于 2020-08-01 06:36:46
看起来像是一个bug,我会给AWS支持开一张罚单,以便更深入地挖掘。请注意,服务团队推荐使用新的网站管家(称为wafv2)。
https://stackoverflow.com/questions/63152181
复制相似问题