Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

feat(module/appgw): add domain_name_label support for AppGW Public IP #222

Merged
merged 2 commits into from
Feb 15, 2023

Conversation

alperenkose
Copy link
Contributor

Description

With domain_name_label, Azure will generate a fqdn for the Azure Application Gateway Public IP in <domain_name_label>..cloudapp.azure.com format.

Motivation and Context

For testing it makes easy to get an fqdn that resolves to Application Gateway public IP.

How Has This Been Tested?

Tested on example code with the domain_name_label attribute and removing it.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

With domain_name_label, Azure will generate a fqdn for the Azure Application Gateway Public IP
in <domain_name_label>.<region>.cloudapp.azure.com format.
@alperenkose alperenkose requested a review from a team as a code owner December 27, 2022 10:12
@welcome-to-palo-alto-networks

🎉 Thanks for opening this pull request! We really appreciate contributors like you! 🙌

@alperenkose alperenkose self-assigned this Dec 27, 2022
Copy link
Contributor

@sebastianczech sebastianczech left a comment

Choose a reason for hiding this comment

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

Nice improvement, I've added 1 tiny comment about try :)

modules/appgw/main.tf Outdated Show resolved Hide resolved
Copy link
Contributor

@pimielowski pimielowski left a comment

Choose a reason for hiding this comment

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

Like @sebastianczech said, you can get rid of the try() function.

@FoSix FoSix merged commit 0f04185 into main Feb 15, 2023
@FoSix FoSix deleted the appgw-domain-name-label branch February 15, 2023 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants