当我运行以下Terraform模板时:
resource "aws_api_gateway_resource" "api_method_resource" {
rest_api_id = "${var.api_id}"
parent_id = "${var.resource_id}"
path_part = "${var.url_path}"
tags = "${merge(
local.common_tags,
map(
"Name", "${var.env}_api_method_resource"
))}"
}
我遇到以下错误:
Error: aws_api_gateway_resource.api_method_resource: : invalid or unknown key: tags
将标签添加到AWS API Gateway资源会有什么问题?