Hi team,
Can someone explain me how module
cloudposse/label/null works and how to use it properly?
In this example
https://github.com/cloudposse/terraform-aws-eks-cluster/blob/main/examples/complete/main.tf I see that we have almost in every module
context = module.this.contextWhat kind of fields it will include? I'm curious because I connect Infracost and got the error:
Missing mandatory tags: Service, Environment
even if I added these tags in this module like this:
module "label" {
source = "cloudposse/label/null"
version = "0.25.0"
namespace = "eg"
stage = "dev"
name = "work"
attributes = ["cluster"]
delimiter = "-"
tags = {
"Environment" = "Dev",
"Service" = "EKS Cluster"
}
context = module.this.context
}