Look at the start ‘ and end ‘ on the validation er...
# aws
b
Look at the start ‘ and end ‘ on the validation error
a
right, but when i am printing the vpcid value, it shows a complete string without any spacing issue. It’s giving error only when attaching it to target group attribute.
b
Can you post your code?
a
when i am printing out the vpcid, it comes as a string, also i checked the type
Copy code
pulumi:pulumi:Stack (test-01):
    vpc-0*********
    <class 'str'>
b
Why bother with subprocess. pipe just use a pull I function for get_vpc I’m almost sure that’s the problem - that script that it’s running
1
a
Yes, it was working fine earlier, that’s what is confusing me. I am also using same part of code in another pulumi resources. When i used vpc retrieval using boto, which worked fine.
b
I’d try strip() to rip out any whites pace
a
Sure, let me check if that works.