我创建了一个google_container_cluster ...Terraform:如何在google_container_cluster资源之后创建named_port?
resource "google_container_cluster" "primary" {
name = "primary"
# rest of the config ...
}
...现在想要一个named_port添加到是由谷歌云平台动态创建的管理实例组。
google_container_cluster
资源返回instance_group_urls。但我不知道如何使用这个输出来创建一个命名端口。