fdmsantos/terraform-aws-kinesis-firehose

Updating an existing Application role doens't work

Closed this issue · 1 comments

Using the following setup didn't work.

Configure existing Application Role to an application that runs in EC2 Instance with a policy with provided actions

module "firehose" {
  source                              = "fdmsantos/kinesis-firehose/aws"
  version                             = "x.x.x"
  name                                = "firehose-delivery-stream"
  destination                         = "s3" # or destination = "extended_s3"
  configure_existing_application_role = true
  application_role_name               = "application-role"
  create_application_role_policy      = true
  application_role_policy_actions     = [
    "firehose:PutRecord",
    "firehose:PutRecordBatch",
    "firehose:CreateDeliveryStream",
    "firehose:UpdateDestination"
  ]
}

I got an error name = "${local.application_role_name}-policy" is null.