Hello, I'm trying `pulumi` and having an issue wit...
# getting-started
l
Hello, I'm trying
pulumi
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:
Copy code
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?
s
To clarify, you mean the code sample that follows this sentence?
For 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: