I've had previews not finish when I didn't have my creds set correctly, do you have api keys exported or AWS_PROFILE set? You can try running pulumi with --logtostderr and maybe findout if there are errors?
Thanks Patrick for your reply. I will share the code more carefully.
I have executed the code looking at the logs and I have not seen any error.
On the other hand, the error only occurs when using the "awsx" package, if I create the network using the "aws" package then there is no problem.