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

Added support for querying public IP address #273

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

tboloo
Copy link

@tboloo tboloo commented Jul 24, 2020

Signed-off-by: Bolesław Tekielski bolek@zeepeetek.pl

Description

Added support for querying public IP address.

Issues Resolved

n/a

Check List

@tboloo tboloo requested a review from a team July 24, 2020 12:59
Copy link
Contributor

@omerdemirok omerdemirok left a comment

Choose a reason for hiding this comment

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

Thanks for your valuable contribution @tboloo! 👏

Can you

  • add a terraform resource into the azure.tf and pick a random name for it? Random name is important to prevent name clashing at integration tests.
  • add the ap_address_name into outputs.tf with the value of the terraform public ip resource name.

docs/resources/azurerm_public_ip.md Outdated Show resolved Hide resolved
@tboloo tboloo force-pushed the feature/azurem_public_ip branch 2 times, most recently from 58ee1f6 to 62f3962 Compare July 26, 2020 07:10
Copy link
Contributor

@omerdemirok omerdemirok left a comment

Choose a reason for hiding this comment

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

@tboloo
Thanks for the updates.
Let's fix the typo and set the terraform resource count default to 1.

@@ -314,4 +314,9 @@ output "application_gateway_name" {
output "hdinsight_cluster_name" {
description = "HDINSIGHT cluster name."
value = var.hd_insight_count > 0 ? azurerm_hdinsight_interactive_query_cluster.hdinsight_cluster.0.name : ""
}

output "ap_address_name" {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be ip_address_name.

Copy link
Author

Choose a reason for hiding this comment

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

done

terraform/variables.tf Outdated Show resolved Hide resolved
Signed-off-by: Bolesław Tekielski <bolek@zeepeetek.pl>
@tboloo tboloo force-pushed the feature/azurem_public_ip branch from 62f3962 to 1123775 Compare July 27, 2020 10:48
Copy link
Contributor

@omerdemirok omerdemirok left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@skpaterson skpaterson added the Version: Bump Minor Used by github.minor_bump_labels to bump the Minor version number. label Aug 3, 2020
Copy link

@skpaterson skpaterson left a comment

Choose a reason for hiding this comment

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

Thanks for this @tboloo !

@skpaterson skpaterson merged commit 506b13f into inspec:master Aug 3, 2020
@omerdemirok omerdemirok linked an issue Sep 7, 2020 that may be closed by this pull request
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.

Add Public IP Address
3 participants