Sean
02/20/2026, 6:14 PM1.207 . Are these fixes still in progress ?Andriy Knysh (Cloud Posse)
02/20/2026, 6:15 PMlocals did not make into 1.207.0 - we are working on it and it will be in the next release next weekSean
03/11/2026, 1:54 PM1.208.0 was released last week but I dont see locals mentioned in the notes. Are the fixes included or still pending ?Andriy Knysh (Cloud Posse)
03/11/2026, 1:56 PMSean
03/19/2026, 12:39 PM1.210 is available. Did the fixes make it into the release ?Erik Osterman (Cloud Posse)
03/19/2026, 1:45 PMAndriy Knysh (Cloud Posse)
03/19/2026, 1:46 PMAndriy Knysh (Cloud Posse)
03/19/2026, 1:46 PMSean
03/19/2026, 1:47 PMAndriy Knysh (Cloud Posse)
03/19/2026, 1:47 PMSean
03/24/2026, 2:41 PMresources:
limits:
cpu: 1000m
memory: 3Gi
requests:
cpu: 500m
memory: 2Gi
I've attempted to use 1 local var in a small stack and it keeps getting OOMKilled even after updating resources.limits.memory: 6Gi
with v1.210.1
going to revert our stack and find another way for nowAndriy Knysh (Cloud Posse)
03/24/2026, 2:52 PMlocals:
my_var: !terraform.state example/componentZero '.attr["key"]'
components:
terraform:
example/componentOne:
settings:
depends_on:
1:
component: example/componentZero
vars:
someAttr: "{{ .locals.my_var }}@12345"Andriy Knysh (Cloud Posse)
03/24/2026, 2:53 PMOOMKilled is not what you described before, it looks like a new issue)Andriy Knysh (Cloud Posse)
03/24/2026, 2:53 PMSean
03/24/2026, 3:07 PMlocals:
trusted_store_arn: !terraform.state aws-mtls-bucket ".trusted_store.arn // ""arn:aws:elasticloadbalancing:us-east-1:000000000000:truststore/mtls-bucket-name/0000000000000000"""
components:
terraform:
eks/alb-controller-ingress-group:
vars:
additional_annotations:
<http://alb.ingress.kubernetes.io/mutual-authentication|alb.ingress.kubernetes.io/mutual-authentication>: "[{port:443,mode:verify,trustStore:{{.locals.trusted_store_arn}},ignoreClientCertificateExpiry:true},{port:80,mode:passthrough}]"
^due to the format of annotation value and that !terraform.state evaluates yq with '.{user_provided_expression}' using single quotes and not double, it becomes impossible to return a json formatted string. It always returns an object unless you triple escape which becomes invalid syntax for the value needed which is why having local vars would be a great solution
I am giving up on this & going to reuse the workaround from last time because I need to get the resources deployed. I can open a GH issue if I end up in this position again & have time then but will not be doing so today sorryAndriy Knysh (Cloud Posse)
03/24/2026, 3:17 PMAndriy Knysh (Cloud Posse)
03/24/2026, 3:18 PMlocals:
trusted_store_arn: !terraform.state aws-mtls-bucket ".trusted_store.arn // ""arn:aws:elasticloadbalancing:us-east-1:000000000000:truststore/mtls-bucket-name/0000000000000000"""
components:
terraform:
eks/alb-controller-ingress-group:
vars:
additional_annotations:
<http://alb.ingress.kubernetes.io/mutual-authentication|alb.ingress.kubernetes.io/mutual-authentication>: "[{port:443,mode:verify,trustStore:{{.locals.trusted_store_arn}},ignoreClientCertificateExpiry:true},{port:80,mode:passthrough}]"Andriy Knysh (Cloud Posse)
03/24/2026, 3:19 PM^due to the format of annotation value and that !terraform.state evaluates yq with '.{user_provided_expression}' using single quotes and not double, it becomes impossible to return a json formatted string. It always returns an object unless you triple escape which becomes invalid syntax for the value needed which is why having local vars would be a great solutionAndriy Knysh (Cloud Posse)
03/24/2026, 3:21 PMit becomes impossible to return a json formatted stringAndriy Knysh (Cloud Posse)
03/24/2026, 3:21 PMtrusted_store_arn: !terraform.state aws-mtls-bucket .trusted_store.arn should return a string, not an object?Sean
03/24/2026, 3:22 PMthis config throws OOMKilled? On CI, or locally, or both?Github Actions. I don't have it run locally
Sean
03/24/2026, 3:26 PMyeah it would be an arn without the local var feature it would need to be something like:should return a string, not an object?trusted_store_arn: !terraform.state aws-mtls-bucket .trusted_store.arn
additional_annotations:
<http://alb.ingress.kubernetes.io/mutual-authentication|alb.ingress.kubernetes.io/mutual-authentication>: !terraform.state aws-mtls-bucket "trusted_store.arn |'[{port:443,mode:verify,trustStore:'+ . +',ignoreClientCertificateExpiry:true},{port:80,mode:passthrough}]'"
I spent an entire day running variations & from results was able to determine the way !terraform.state works is as described above so it can't be done & I had to overwrite the components to workaround the limitationAndriy Knysh (Cloud Posse)
03/24/2026, 3:32 PMlocals:
trusted_store_arn: !terraform.state aws-mtls-bucket ".trusted_store.arn // ""arn:aws:elasticloadbalancing:us-east-1:000000000000:truststore/mtls-bucket-name/0000000000000000"""Andriy Knysh (Cloud Posse)
03/24/2026, 3:32 PMAndriy Knysh (Cloud Posse)
03/24/2026, 3:33 PMAndriy Knysh (Cloud Posse)
03/24/2026, 3:34 PMutils proider version are you using on CI? (cloudposse/utils version)
(terraform init installs all the providers, please check the utils provider version)Sean
03/24/2026, 7:37 PMversion = ">= 0.1.0" and somehow a part of the account-map migration troubles another engineer has been working through for the last few weeksSean
03/24/2026, 9:13 PM