https://pulumi.com logo
Title
b

broad-dog-22463

02/05/2021, 9:52 PM
Look at the start ‘ and end ‘ on the validation error
a

alert-raincoat-81485

02/05/2021, 9:55 PM
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

broad-dog-22463

02/05/2021, 9:56 PM
Can you post your code?
a

alert-raincoat-81485

02/05/2021, 10:07 PM
when i am printing out the vpcid, it comes as a string, also i checked the type
pulumi:pulumi:Stack (test-01):
    vpc-0*********
    <class 'str'>
b

broad-dog-22463

02/05/2021, 10:08 PM
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

alert-raincoat-81485

02/05/2021, 10:10 PM
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

broad-dog-22463

02/05/2021, 10:12 PM
I’d try strip() to rip out any whites pace
a

alert-raincoat-81485

02/05/2021, 10:14 PM
Sure, let me check if that works.