am trying to install runtime fabric on AWS

61 Views Asked by At

Am trying to install Runtime Fabric on AWS, am using this document as guide : https://docs.mulesoft.com/runtime-fabric/1.11/install-aws , but when am running this command

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

am getting below error

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.

the file am running is called fabric.tf and this is the line " map_public_ip_on_launch = var.enable_public_ips" & variable "enable_public_ips" { default = true }

which is creating problem, can anyone help ?

0

There are 0 best solutions below