Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for Azure SignalR Service #2399

Merged
merged 2 commits into from
Apr 6, 2023
Merged

Conversation

tim775
Copy link
Member

@tim775 tim775 commented Apr 5, 2023

No description provided.

@tim775 tim775 requested a review from vdmgolub April 5, 2023 20:32
@tim775 tim775 self-assigned this Apr 5, 2023
name = each.value
capacity = 5
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's fix this missing newline here. Otherwise, when the next person opens this file in the editor and saves it, it will be added, resolving in a git diff line.

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 hear you (though for whatever reason goland doesn't do that) but I feel like these kind of style issues should be addressed through code (i.e. make fmt) not code reviews. There are over 100 .tf files without trailing newline and for whatever reason terraform fmt doesn't want to enforce this but I think it should be easy enough to right a find + awk that does it so I'll do that in a separate pr.

monthly_additional_messages: 1234567

azurerm_signalr_service.example_with_usage["Premium_P1"]:
monthly_additional_messages: 12345678
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here.

// See providers folder for more information.
func (r *SignalRService) BuildResource() *schema.Resource {
// normalize sku to first letter capitalized
sku := cases.Title(language.English).String(strings.ToLower(r.SkuName))
Copy link
Contributor

Choose a reason for hiding this comment

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

It might be a great candidate to become a new helper function. I see it's used in several places already. :)

@tim775 tim775 merged commit 659b997 into master Apr 6, 2023
8 of 9 checks passed
@tim775 tim775 deleted the feat/azure_signalr branch June 4, 2024 14:41
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.

None yet

2 participants