Skip to content

feat(azure): Add warning message when a namespace is not registered#5758

Closed
erezrokah wants to merge 4 commits intocloudquery:mainfrom
erezrokah:fix/log_table_name_not_registered_namespace
Closed

feat(azure): Add warning message when a namespace is not registered#5758
erezrokah wants to merge 4 commits intocloudquery:mainfrom
erezrokah:fix/log_table_name_not_registered_namespace

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented Dec 18, 2022

Summary

Fixes #5683.
I'm not sure this is the correct solution (or implementation of this approach).

Another option is to remove the condition in

if p.RegistrationState != nil && *p.RegistrationState == "Registered" {
and let the plugin sync everything (I tried it, it doesn't generate lots of errors).

The current state of Azure seems similar to what is implemented in #5534

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cloudquery-web 🔄 Building (Inspect) Dec 18, 2022 at 11:11AM (UTC)

@yevgenypats
Copy link
Copy Markdown
Contributor

I understand that change but I dont understand how this solves #5683 . What were the missing tables?

@erezrokah
Copy link
Copy Markdown
Member Author

erezrokah commented Dec 18, 2022

What were the missing tables?

They are not missing. We don't sync them because the subscription doesn't have these providers registered, see https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types#azure-portal

I think it's like enabled APIs in GCP.

The main issue is not logging that we don't sync them

@erezrokah erezrokah force-pushed the fix/log_table_name_not_registered_namespace branch from d4a53f9 to 23ad06c Compare December 26, 2022 17:21
@erezrokah erezrokah force-pushed the fix/log_table_name_not_registered_namespace branch from 23ad06c to d31519f Compare December 26, 2022 18:22
@erezrokah
Copy link
Copy Markdown
Member Author

Closing as stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Azure all the tables are not getting resources.

3 participants