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

Support storage file share #150

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Support storage file share #150

merged 1 commit into from
Jun 10, 2022

Conversation

magodo
Copy link
Collaborator

@magodo magodo commented Jun 10, 2022

Fix #130.

Test

💤  AZTFY_E2E=1 go test -timeout=30m -v -run="TestStorageFileShare" ./internal/test/...
=== RUN   TestStorageFileShare
=== PAUSE TestStorageFileShare
=== CONT  TestStorageFileShare
Initializing...
List resources...
Import resources...
Importing /subscriptions/67a9759d-d099-4aa8-8675-e6cfd669c3f4/resourceGroups/aztfy-rg-dvwhdtiv/providers/Microsoft.Storage/storageAccounts/aztfydvwhdtiv as azurerm_storage_account.test
[WARN] No mapping information for resource: /subscriptions/67a9759d-d099-4aa8-8675-e6cfd669c3f4/resourceGroups/aztfy-rg-dvwhdtiv/providers/Microsoft.Storage/storageAccounts/aztfydvwhdtiv/blobServices/default, skip it
[WARN] No mapping information for resource: /subscriptions/67a9759d-d099-4aa8-8675-e6cfd669c3f4/resourceGroups/aztfy-rg-dvwhdtiv/providers/Microsoft.Storage/storageAccounts/aztfydvwhdtiv/fileServices/default, skip it
[WARN] No mapping information for resource: /subscriptions/67a9759d-d099-4aa8-8675-e6cfd669c3f4/resourceGroups/aztfy-rg-dvwhdtiv/providers/Microsoft.Storage/storageAccounts/aztfydvwhdtiv/queueServices/default, skip it
[WARN] No mapping information for resource: /subscriptions/67a9759d-d099-4aa8-8675-e6cfd669c3f4/resourceGroups/aztfy-rg-dvwhdtiv/providers/Microsoft.Storage/storageAccounts/aztfydvwhdtiv/tableServices/default, skip it
Importing https://aztfydvwhdtiv.file.core.windows.net/aztfydvwhdtiv as azurerm_storage_share.test
Importing /subscriptions/67a9759d-d099-4aa8-8675-e6cfd669c3f4/resourceGroups/aztfy-rg-dvwhdtiv as azurerm_resource_group.test
Generating Terraform configurations...
--- PASS: TestStorageFileShare (216.97s)
PASS
ok      github.com/Azure/aztfy/internal/test    217.113s

Copy link
Member

@ms-henglu ms-henglu left a comment

Choose a reason for hiding this comment

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

LGTM 🦩

@magodo magodo merged commit e893cd2 into Azure:main Jun 10, 2022
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.

Cannot import azurerm_storage_share
2 participants