Closed ChristopherGLewis closed 1 year ago
@ChristopherGLewis Since this issue was reported, we have updated the tutorial docs as well as made many fixes to the stacks code. Could you try running the updated tutorial with the new public preview release? Please open another issue if you face any problems with the new tutorial.
Describe the bug I'm running through the tutorial for the Main deploy and I'm getting what I believe is incorrect results.
I've set up the main.bicep per the tutorial and deployed it via:
I then change line 22 to use static
and rerun the stack deployment
If you note, the resource pubIP1 is detached, which I don't believe is correct.
The big issue, however, is that the pip pubIP2 is now created in the test-rg1 resource group (!!!)
even though the bicep clearly states that pubIP2 should be in test-rg2
Note that the deployment for publicIP1 also contains pubIP2![image](https://user-images.githubusercontent.com/8505994/216439302-01d51b53-54c0-4749-bd0e-18572ef3332d.png)
To Reproduce Steps to reproduce the behavior:
Follow the steps in the tutorial as outlined above
Expected behavior I expect that pubIP1 be changed from Dynamic to Static and that pubIP2 NOT be created in test-rg1
Screenshots If applicable, add screenshots to help explain your problem.
Repro Environment Host OS: WIn11 Powershell Version:
Server Debugging Information Correlation ID: Tenant ID: Timestamp of issue (please include time zone): Data Center (eg, West Central US, West Europe):
Additional context Add any other context about the problem here.