terraform-iaac / terraform-kubernetes-cert-manager

Terraform module for Kubernetes Cert Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example to use additional_set

IGZangelcostales opened this issue · comments

hello,

I'm trying to add multiple sets, but I don't understand how it would look in HCL, it always gives me an error.

Thanks in advance.

i have this:

  additional_set = [
    {
      set = {
        name  = "serviceAccount.annotations.\\eks\\.amazonaws\\.com/role-arn"
        value = aws_iam_role.cert-manager-role.arn
        type  = "string"
      },
      set = {
        name = "installCRDs"
        value = true
      }
    }
  ]

but i got an error

I check the module and find that I don't need to set installCRDs.. so with this work:

  additional_set = [
    {
        name  = "serviceAccount.annotations.\\eks\\.amazonaws\\.com/role-arn"
        value = aws_iam_role.cert-manager-role.arn
        type  = "string"
    }
  ]

Thanks!!!