Hi team hope you are doing well. I'm deploying the...
# ask-metaflow
c
Hi team hope you are doing well. I'm deploying the aws infrastructure using the developed "metaflow" module from Terraform version 0.8.0. The input variable "ui_certificate_arn" (string) indicates that if blank then the UI sub module wont be provisioned, but when I do pass an arn string I get the following as per screen shot. Have you come across this before?
a
hmm good point looks like a bug. We should probably have a boolean flag for UI to work around this. I think it would work if you created the cert outside terraform and just passed ARN string in as a literal, but since the cert is created in the same template in your case, terraform technically doesn't know for sure if that value going to be empty or not, so it can't figure out whether UI submodule should be enabled or not.