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
File "/Users/michaeldavidson/Library/Caches/pypoetry/virtualenvs/ol-infrastructure-PBwU_EEw-py3.12/lib/python3.12/site-packages/pulumi/output.py", line 374, in __iter__
raise TypeError(
TypeError: 'Output' object is not iterable, consider iterating the underlying value inside an 'apply'
The Output.all got me closer?
open_metadata_database_pod_security_group_config = Output.all(k8s_pod_subnet_cidrs).apply(lambda cidrs: OLEKSPodSecurityGroupConfig(
pydantic_core._pydantic_core.ValidationError: 2 validation errors for OLEKSPodSecurityGroupConfig
cluster_cidrs.list[str].0
Input should be a valid string [type=string_type, input_value=['172.23.128.0/21', '172..../21', '172.23.152.0/21'], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/string_type
cluster_cidrs.list[is-instance[Output]].0
Input should be an instance of Output [type=is_instance_of, input_value=['172.23.128.0/21', '172..../21', '172.23.152.0/21'], input_type=list
For further information visit https://errors.pydantic.dev/2.9/v/is_instance_of
Which made me think that cidrs was a list of rendered outputs which tracks with examples of Output.all() that I find so dereference with cidrs[0] and I get the same ‘not iternable’ message
Outstanding issues:
Testing + Verification
Unpacking cluster_cidrs inside the component resource and creating ingress rules from them. Pulumi async issue.
Plan/Design
The text was updated successfully, but these errors were encountered:
Description/Context
There is already a branch : https://github.com/mitodl/ol-infrastructure/compare/md/psg_impl?expand=1
Typically I get
The Output.all got me closer?
Outstanding issues:
cluster_cidrs
inside the component resource and creating ingress rules from them. Pulumi async issue.Plan/Design
The text was updated successfully, but these errors were encountered: