Terraform : How to obtain a variable from one aws_instance and use it in another aws_instance?

前端 未结 0 390
长情又很酷
长情又很酷 2021-02-06 07:43

My code

resource "aws_instance" "k8-control-plane" {
  count                  = 1
  ami                    = "ami-XXXXXX         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题