You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"helm_release""alb_controller" {
name="alb-controller"repository="https://aws.github.io/eks-charts"chart="aws-load-balancer-controller"version="1.2.0"namespace="kube-system"atomic=truetimeout=900set {
name ="clusterName"
value = var.k8s_cluster_name
}
set {
name ="rbac.create"
value ="true"
}
set {
name ="serviceAccount.create"
value ="true"
}
set {
name ="serviceAccount.name"
value ="alb-controller"
}
set {
name ="serviceAccount.annotations.eks\\.amazonaws\\.com/role-arn"
value = module.alb_controller_k8s_iam_connection.iam_role_arn
}
set {
name ="region"
value = data.aws_arn.k8s_cluster.region
}
set {
name ="vpcId"
value = var.k8s_cluster_vpc_id
}
set {
name ="enableWafv2"
value ="true"
}
set {
name ="enableWaf"
value ="true"
}
depends_on=[
module.alb_controller_k8s_iam_connection,
module.k8s_cluster_healthz
]
}
Steps to Reproduce
terraform apply
Expected Behavior
The provider should recognize that nothing has changed in the configuration.
Actual Behavior
The values set using set produce a pseudo difference:
# module.main_applications.helm_release.alb_controller will be updated in-place
~ resource"helm_release""alb_controller" {
id="alb-controller"name="alb-controller"# (26 unchanged attributes hidden)-set {
- name ="enableWaf"->null- value ="true"->null
}
+set {
+ name ="enableWaf"+ value ="true"
}
-set {
- name ="enableWafv2"->null- value ="true"->null
}
+set {
+ name ="enableWafv2"+ value ="true"
}
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
IIRC, adding type = "string" in the set block fixed this for us, however we eventually decided to use values = with a template instead of the problematic set option. This has the added benefit of type preservation.
To help make your diffs easier to read I recommend removing and line breaks and comments after rendering the template. Here's an example for doing this::
Marking this issue as stale due to inactivity. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. This helps our maintainers find and focus on the active issues. Maintainers may also remove the stale label at their discretion. Thank you!
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform apply
Expected Behavior
The provider should recognize that nothing has changed in the configuration.
Actual Behavior
The values set using
set
produce a pseudo difference:Community Note
The text was updated successfully, but these errors were encountered: