0

我正在尝试在 AWS 上安装 Runtime Fabric,我使用此文档作为指南:https ://docs.mulesoft.com/runtime-fabric/1.11/install-aws ,但是当我运行此命令时

terraform apply \
  -var activation_data='' \
  -var key_pair='' \
  -var enable_public_ips='' \
  -var controllers='3' \
  -var workers='3' \
  -var mule_license='' \
  -state=tf-data/rtf.tfstate

正在低于错误

Error: Incorrect attribute value type

  on fabric.tf line 387, in resource "aws_subnet" "public":
 387:   map_public_ip_on_launch = var.enable_public_ips
    |----------------
    | var.enable_public_ips is ""

Inappropriate value for attribute "map_public_ip_on_launch": a bool is
required.


Error: Incorrect attribute value type

  on fabric.tf line 387, in resource "aws_subnet" "public":
 387:   map_public_ip_on_launch = var.enable_public_ips
    |----------------
    | var.enable_public_ips is ""

Inappropriate value for attribute "map_public_ip_on_launch": a bool is
required.


Error: Incorrect attribute value type

  on fabric.tf line 387, in resource "aws_subnet" "public":
 387:   map_public_ip_on_launch = var.enable_public_ips
    |----------------
    | var.enable_public_ips is ""

Inappropriate value for attribute "map_public_ip_on_launch": a bool is
required.


Error: Incorrect attribute value type

  on fabric.tf line 387, in resource "aws_subnet" "public":
 387:   map_public_ip_on_launch = var.enable_public_ips
    |----------------
    | var.enable_public_ips is ""

Inappropriate value for attribute "map_public_ip_on_launch": a bool is
required.

正在运行的文件名为fabric.tf,这是行“map_public_ip_on_launch = var.enable_public_ips”和变量“enable_public_ips”{default = true}

这是造成问题,有人可以帮忙吗?

4

0 回答 0