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

azurerm_key_vault - support for Virtual Network Rules #2027

Merged
merged 6 commits into from
Oct 6, 2018

Conversation

tombuildsstuff
Copy link
Contributor

@tombuildsstuff tombuildsstuff commented Oct 5, 2018

This PR does four things:

  • dependencies: upgrades to 2018-02-14 of the Key Vault API's
  • Data Source azurerm_key_vault - exposing the network_acls block
  • azurerm_key_vault - adding support for setting network_acls (including Virtual Network Rules)
  • azurerm_storage_account - locking on the Virtual Network name when deleting the storage account

This should fix #1491 - but I've been unable to reproduce it

…deletion

Fixes #1491

```
$ acctests azurerm TestAccAzureRMStorageAccount_networkRules
=== RUN   TestAccAzureRMStorageAccount_networkRules
--- PASS: TestAccAzureRMStorageAccount_networkRules (242.68s)
=== RUN   TestAccAzureRMStorageAccount_networkRulesDeleted
--- PASS: TestAccAzureRMStorageAccount_networkRulesDeleted (193.87s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	437.440s
```
@tombuildsstuff tombuildsstuff added this to the 1.17.0 milestone Oct 5, 2018
@tombuildsstuff tombuildsstuff requested a review from katbyte October 5, 2018 05:01
@ghost ghost added the size/XL label Oct 5, 2018
@tombuildsstuff
Copy link
Contributor Author

Key Vault Resource tests pass:

screenshot 2018-10-05 at 22 58 00

Storage Tests pass (ignoring some known test failures):

screenshot 2018-10-05 at 22 58 05

```
$ acctests azurerm TestAccDataSourceAzureRMKeyVault_networkAcls
=== RUN   TestAccDataSourceAzureRMKeyVault_networkAcls
--- PASS: TestAccDataSourceAzureRMKeyVault_networkAcls (310.74s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	311.651s
```
@tombuildsstuff
Copy link
Contributor Author

Data Source tests pass:

screenshot 2018-10-06 at 00 05 41

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

LGTM @tombuildsstuff 👍

Left one minor comment about comments but its no blocker

azurerm/resource_arm_storage_account.go Show resolved Hide resolved
@ghost
Copy link

ghost commented Mar 6, 2019

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants