Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow importing of FrontDoor resources #4262

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

theunrepentantgeek
Copy link
Member

What this PR does / why we need it:

When scanning for child/extension resources in the cdn group, asoctl runs into a NoRegisteredProviderFound error which is incorrectly treated as a fatal error.

Changing this to a known case, where we simply skip the check for that particular kind of child resource, results in the import working correctly.

Closes #4260

How does this PR make you feel:
gif

@matthchr
Copy link
Member

It sounds like the user that reported this tested it and it helped but there was some other issue with importing routes, may be worth looking at that too

* Licensed under the MIT license.
*/

package importresources
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: Could be importresources_test, I think?

Cleaner as it avoids the temptation to test internals (which is sometimes what you want to do but sometimes not desirable).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll move it, but really prefer to keep things close unless there's a problem (like a circular reference) that can be resolved by using the test package naming.

@theunrepentantgeek theunrepentantgeek added this pull request to the merge queue Sep 16, 2024
Merged via the queue into main with commit e755384 Sep 16, 2024
7 checks passed
@theunrepentantgeek theunrepentantgeek deleted the fix/noregisteredprovider branch September 16, 2024 23:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Bug: asoctl can't create manifests for Azure Front Door and CDN profile
2 participants