Replies: 6 comments
-
When changing the So in your scenario, you have two options to create a resource group; Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
@daltondhcp - Thanks for the clear explanation! What tripped me up was the different ways in which we were creating resource groups, going back and checking some old deployments,
I guess we really dont need the RG folder! Placing the RG template under the sub folder would suffice, wouldn't it? Just checking my understanding, this is similar to option (b) in your comment, except the template goes in the
Once the default is changed to something like |
Beta Was this translation helpful? Give feedback.
-
You absolutely got it right and it indeed sounds like the |
Beta Was this translation helpful? Give feedback.
-
Not sure if this trips up other users, confused me a fair bit. Questions like:
We will not be enabling this option in production, we prefer our dev workflow and legible commit history. large automated commits without proper commit messages makes it hard in the long run. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the feedback! Would you like to contribute and add a couple of notes about it in the Wiki/FAQ, similar to what we have done with some other settings? |
Beta Was this translation helpful? Give feedback.
-
Happy to contribute, will submit a pr shortly |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Encountering the below error after enabling the settings
"Core.SkipResource": false
and"Core.AutoGeneratedTemplateFolderPath": ".az"
. Tried creating a new resource group but validation fails with:I don't fully understand the error. why is it looking for
sub-it-sbox-prototype-001 (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)/rg-st-test-sbox-001/.az
folder?Steps to reproduce
1 . Used the adventureworks template and setup the IaC repo based of the AzOps accelerator template repo.
2 . Then enabled the below two settings to pull in resources that were already present:
All other settings were left with their defaults.
Pull workflow ran fine.
3 . Tried creating a resource group
rg-st-test-sbox-001
under subsub-it-sbox-prototype-001
but validation step fails with the above error.The sub
sub-it-sbox-prototype-001
was created via the Portal and pulled in, not sure if that matters.Not sure if this is a bug or incorrect settings.
Would greatly appreciate any pointers in understanding the root cause of this issue.
Thanks
Rahul
Beta Was this translation helpful? Give feedback.
All reactions