-
Notifications
You must be signed in to change notification settings - Fork 334
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
Add disable_outbound_snat configuration to azure_rm_loadbalancer module #744
Add disable_outbound_snat configuration to azure_rm_loadbalancer module #744
Conversation
@tfmark Can you add a test case for this newly added parameter? Thank you very much! |
@@ -207,6 +207,12 @@ | |||
enable_floating_ip: | |||
description: | |||
- Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. | |||
disable_outbound_snat: | |||
description: | |||
- Configure outbound source network address translation (SNAT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Configure outbound source network address translation (SNAT) | |
- Configure outbound source network address translation (SNAT). |
disable_outbound_snat: | ||
description: | ||
- Configure outbound source network address translation (SNAT) | ||
- The default value is False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The default value is False | |
- The default value is I(disable_outbound_snat=False). |
description: | ||
- Configure outbound source network address translation (SNAT) | ||
- The default value is False | ||
- True is equivalent to "Use outbound rules to provide backend pool members access to the internet" in portal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- True is equivalent to "Use outbound rules to provide backend pool members access to the internet" in portal | |
- True is equivalent to "Use outbound rules to provide backend pool members access to the internet" in portal. |
- Configure outbound source network address translation (SNAT) | ||
- The default value is False | ||
- True is equivalent to "Use outbound rules to provide backend pool members access to the internet" in portal | ||
- False is equivalent to "Use implicit outbound rule" in portal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- False is equivalent to "Use implicit outbound rule" in portal | |
- False is equivalent to "Use implicit outbound rule" in portal. |
@tfmark Are you still contributing to this PR? Please help rebase this PR and fix the problems in the comments above! Thank you very much! |
Hi @Fred-sun, I will look into this, but this is something work-related rather than something I do for fun. Last time I made a PR I found that it was difficult to test, but maybe things have changed. I'll get around to it at some point. |
@tfmark It is not recommended to set a default value for this parameter, because if the resource already exists and we create it again, if we do not set this parameter, it will be updated to the default value. But we can document that the default is true or false. Thank you very much! |
8905770
to
ec21b5f
Compare
LGTM |
SUMMARY
Fixes #743
ISSUE TYPE
COMPONENT NAME
azure_rm_loadbalancer
ADDITIONAL INFORMATION