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

provider/azurerm: add network security rule #4586

Merged
merged 1 commit into from
Jan 9, 2016

Conversation

stack72
Copy link
Contributor

@stack72 stack72 commented Jan 8, 2016

@jen20 Scaffold the Azure RM Network Security Rule resource

  • Schema
  • CRUD
  • Acceptance Tests
  • Documentation

Test Results:

make testacc TEST=./builtin/providers/azurerm TESTARGS='-run=AzureRMNetworkSecurityRule' 2>~/tf.log
==> Checking that code complies with gofmt requirements...
go generate ./...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run=AzureRMNetworkSecurityRule -timeout 120m
=== RUN   TestResourceAzureRMNetworkSecurityRuleProtocol_validation
--- PASS: TestResourceAzureRMNetworkSecurityRuleProtocol_validation (0.00s)
=== RUN   TestResourceAzureRMNetworkSecurityRuleAccess_validation
--- PASS: TestResourceAzureRMNetworkSecurityRuleAccess_validation (0.00s)
=== RUN   TestResourceAzureRMNetworkSecurityRuleDirection_validation
--- PASS: TestResourceAzureRMNetworkSecurityRuleDirection_validation (0.00s)
=== RUN   TestAccAzureRMNetworkSecurityRule_basic
--- PASS: TestAccAzureRMNetworkSecurityRule_basic (128.50s)
=== RUN   TestAccAzureRMNetworkSecurityRule_addingRules
--- PASS: TestAccAzureRMNetworkSecurityRule_addingRules (176.37s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/azurerm    304.888s

Regarding changes to azurerm_network_security_group

The changes to resource_arm_network_security_group.go were merely refactorings and flattening of the SecurityRules. The tests still pass as expected:

make testacc TEST=./builtin/providers/azurerm TESTARGS='-run=AzureRMNetworkSecurityGroup' 2>~/tf.log
==> Checking that code complies with gofmt requirements...
go generate ./...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run=AzureRMNetworkSecurityGroup -timeout 120m
=== RUN   TestAccAzureRMNetworkSecurityGroup_basic
--- PASS: TestAccAzureRMNetworkSecurityGroup_basic (123.22s)
=== RUN   TestAccAzureRMNetworkSecurityGroup_addingExtraRules
--- PASS: TestAccAzureRMNetworkSecurityGroup_addingExtraRules (165.79s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/azurerm    289.027s

@stack72 stack72 force-pushed the azurerm-network-security-rule branch from 606b6b2 to 719f3ad Compare January 9, 2016 00:07
@stack72 stack72 changed the title [WIP] provider/azurerm: add network security rule provider/azurerm: add network security rule Jan 9, 2016
@jen20
Copy link
Contributor

jen20 commented Jan 9, 2016

LGTM! Thanks @stack72!

jen20 added a commit that referenced this pull request Jan 9, 2016
provider/azurerm: add network security rule
@jen20 jen20 merged commit a33ffab into hashicorp:master Jan 9, 2016
@stack72 stack72 deleted the azurerm-network-security-rule branch January 9, 2016 00:28
@ghost
Copy link

ghost commented Apr 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants