https://pulumi.com logo
Title
o

orange-airport-64592

12/13/2022, 8:12 AM
I don’t know why this reading step is slow : this is my code:
vpce_execute = aws.ec2.VpcEndpoint.get(
    resource_name="vpce-execute",
    id=settings.vpce_execute_id
)
Can have some way to find the detailed reasons?
It is block in here!
It looks like is related to StackReference If I remove the StackReference code , it will be fine
s

stocky-restaurant-98004

12/13/2022, 1:40 PM
It may be because you have not set
PULUMI_CONFIG_*
. It might need to use those in order to read from the referenced stack's state file.
Can you read anything from that stack reference?
o

orange-airport-64592

12/14/2022, 1:39 AM
@stocky-restaurant-98004 No, I can’t read anything, It’s always blocked. I indeed did not set
PULUMI_CONFIG_*
Cloud you give me more related docs?
s

stocky-restaurant-98004

12/14/2022, 3:59 PM
Are you using the Pulumi app backend, or a custom backend?
o

orange-airport-64592

12/15/2022, 2:49 AM
custom backend, the AWS s3 @stocky-restaurant-98004
s

stocky-restaurant-98004

12/15/2022, 2:51 PM
You probably do not have the necessary AWS credentials configured. Where are you running the Pulumi commands from (for example, your machine, an AWS container, etc.)?