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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_signalr_service - deprecate features block in favour of connectivity_logs_enabled, messaging_logs_enabled and service_mode #14360

Merged
merged 6 commits into from
Dec 7, 2021

Conversation

catriona-m
Copy link
Member

No description provided.

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @catriona-m

Thanks for this PR - taking a look through on the whole this is looking good, however can we flip these over to using Bool's instead of Strings here?

Thanks!

internal/services/signalr/signalr_service_resource.go Outdated Show resolved Hide resolved
internal/services/signalr/signalr_service_resource.go Outdated Show resolved Hide resolved
Comment on lines 141 to 151
Type: pluginsdk.TypeString,
Optional: true,
Computed: true,
ConflictsWith: []string{
"features",
},
ValidateFunc: validation.StringInSlice([]string{
"Serverless",
"Classic",
"Default",
}, false),
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a default value for this ("Default"?) - also this shouldn't be computed

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've had to make these computed so the deprecation will function correctly, but I've left a note to remove for 3.0

internal/services/signalr/signalr_service_resource.go Outdated Show resolved Hide resolved
internal/services/signalr/signalr_service_resource.go Outdated Show resolved Hide resolved
internal/services/signalr/signalr_service_resource.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

Thanks @catriona-m - LGTM 🍰

@catriona-m catriona-m merged commit 265e94c into main Dec 7, 2021
@catriona-m catriona-m deleted the cm/signalr_service_props branch December 7, 2021 11:06
@github-actions github-actions bot added this to the v2.89.0 milestone Dec 7, 2021
catriona-m added a commit that referenced this pull request Dec 7, 2021
@github-actions
Copy link

This functionality has been released in v2.89.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants