Wing Simulator Shows Warning When Using `XxxRef` Resources
Use Case
The Wing simulator should display a warning / info notification when using reference resources. This is to help users realize when interacting in the console that they could be manipulating real deployed resources/data
Proposed Solution
No response
Implementation Notes
No response
Component
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.
- If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Slack.
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
I think it's a good idea. Will need to think of a proper design for that. Something along the lines of "This resource is not simulated".
I'll leave some notes for me below:
Example code:
bring aws;
new aws.BucketRef("my-bucket-name");
Node type: @winglang/sdk.aws.BucketRef
Also noticed that if AWS is not correctly configured, an error message shows in the BucketRef/AWS Console inspector panel (AWS Console = The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.). Not sure how to show these type of errors.