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

unifi_port_forward enabled should default to true #258

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

jippi
Copy link
Contributor

@jippi jippi commented Jul 11, 2022

Port forwards are created with enabled = false currently, with no way to actually enable them via terraform since enabled is deprecated

Fixes #255

@dunderrrrrr
Copy link

dunderrrrrr commented Feb 11, 2023

@paultyng whats the status on this one? It should be merged imo.

@joshuaspence
Copy link
Collaborator

Changing the default value is a breaking change. This field has been marked as deprecated for almost 3 years so let's just remove it.

@MaienM
Copy link
Contributor

MaienM commented Feb 27, 2023

But with the default being false people are currently required to pass enabled = true despite this being a deprecated field to actually use the port forward, right? So just removing it would also be a breaking change for pretty much everyone that is using this resource at the moment.

@jippi
Copy link
Contributor Author

jippi commented Feb 27, 2023

I agree, it would for sure break a ton of code bases without a major release bump

@joshuaspence
Copy link
Collaborator

But with the default being false people are currently required to pass enabled = true despite this being a deprecated field to actually use the port forward, right? So just removing it would also be a breaking change for pretty much everyone that is using this resource at the moment.

Good point

@joshuaspence joshuaspence merged commit 92ce036 into paultyng:main Feb 27, 2023
@jippi jippi deleted the patch-1 branch February 27, 2023 22:53
joshuaspence pushed a commit to chrishas35/terraform-provider-unifi that referenced this pull request Mar 1, 2023
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.

unifi_port_forward attribute 'enabled' defaults to false
4 participants