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

Load balancer rule #25

Merged
merged 12 commits into from
Aug 13, 2018
1 change: 1 addition & 0 deletions azurestack/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func Provider() terraform.ResourceProvider {
"azurestack_lb_nat_rule": resourceArmLoadBalancerNatRule(),
"azurestack_lb_probe": resourceArmLoadBalancerProbe(),
"azurestack_lb_nat_pool": resourceArmLoadBalancerNatPool(),
"azurestack_lb_rule": resourceArmLoadBalancerRule(),
"azurestack_public_ip": resourceArmPublicIp(),
"azurestack_resource_group": resourceArmResourceGroup(),
"azurestack_storage_account": resourceArmStorageAccount(),
Expand Down
4 changes: 2 additions & 2 deletions azurestack/resource_arm_loadbalancer_probe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestAccAzureStackLoadBalancerProbe_basic(t *testing.T) {
probeName := fmt.Sprintf("probe-%d", ri)

subscriptionID := os.Getenv("ARM_SUBSCRIPTION_ID")
probe_id := fmt.Sprintf(
probeID := fmt.Sprintf(
"/subscriptions/%s/resourceGroups/acctestRG-%d/providers/Microsoft.Network/loadBalancers/arm-test-loadbalancer-%d/probes/%s",
subscriptionID, ri, ri, probeName)

Expand All @@ -32,7 +32,7 @@ func TestAccAzureStackLoadBalancerProbe_basic(t *testing.T) {
testCheckAzureStackLoadBalancerExists("azurestack_lb.test", &lb),
testCheckAzureStackLoadBalancerProbeExists(probeName, &lb),
resource.TestCheckResourceAttr(
"azurestack_lb_probe.test", "id", probe_id),
"azurestack_lb_probe.test", "id", probeID),
),
},
{
Expand Down
Loading