lively-rain-14200
09/09/2022, 6:37 AMpulumi
and having an issue with the doc:
https://www.pulumi.com/docs/guides/crosswalk/aws/eks/#provisioning-a-new-eks-cluster
Running the second code example present at that address (the example with nginx
) crashes at the deployment
object creations and returns:
File "/home/tolki/.cache/pypoetry/virtualenvs/locarise-rest-api-LW45l3EZ-py3.9/lib/python3.9/site-packages/pulumi/resource.py", line 922, in __init__
raise ValueError(
ValueError: Attempted to register resource kubernetes:apps/v1:Deployment with a provider for 'Calling __str__ on an Output[T] is not supported.
To get the value of an Output[T] as an Output[str] consider:
1. o.apply(lambda v: f"prefix{v}suffix")
See <https://pulumi.io/help/outputs> for more details.
This function may throw in a future version of Pulumi.'
Am I doing something wrong or is the doc wrong?stocky-restaurant-98004
09/09/2022, 1:54 PMFor instance, we can deploy a canary to our EKS cluster in the same program if we want to test that it is working as part of pulumi up: