From e5f372aea210d5744954a4d06ebc12dfb367a97e Mon Sep 17 00:00:00 2001 From: Heng Lu Date: Fri, 2 Aug 2024 13:24:42 +0800 Subject: [PATCH] update aztft to v0.3.1-0.20240802001407-2834614c6d9c --- go.mod | 2 +- go.sum | 4 +- .../magodo/aztft/internal/resmap/map.json | 87 +++++++++++++++++++ .../magodo/aztft/internal/resmap/map_gen.json | 87 +++++++++++++++++++ vendor/modules.txt | 2 +- 5 files changed, 178 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 321034f2..cd6e5acc 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/hashicorp/terraform-exec v0.18.1 github.com/hashicorp/terraform-json v0.17.1 github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0 - github.com/magodo/aztft v0.3.1-0.20240628052037-ea373ea89d48 + github.com/magodo/aztft v0.3.1-0.20240802001407-2834614c6d9c github.com/magodo/tfadd v0.10.1-0.20230512075749-9c0bab46fdb8 github.com/mitchellh/cli v1.1.5 github.com/zclconf/go-cty v1.13.2 diff --git a/go.sum b/go.sum index c8409421..2b637922 100644 --- a/go.sum +++ b/go.sum @@ -196,8 +196,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/magodo/armid v0.0.0-20230511151020-27880e5961c3 h1:ob6vk6PlChZvutcxcLnmPH/VNmJEuwz+TmCYCVtJqeA= github.com/magodo/armid v0.0.0-20230511151020-27880e5961c3/go.mod h1:rR8E7zfGMbmfnSQvrkFiWYdhrfTqsVSltelnZB09BwA= -github.com/magodo/aztft v0.3.1-0.20240628052037-ea373ea89d48 h1:5gqzLISv6i2zbmBNPxASDb1tm19ZrLcq2LcYQW3qD1E= -github.com/magodo/aztft v0.3.1-0.20240628052037-ea373ea89d48/go.mod h1:CHeYYR+/RTjUry+0bpkI49PvQ/1sTe7itA+9BqKE1/8= +github.com/magodo/aztft v0.3.1-0.20240802001407-2834614c6d9c h1:6H0Rxt63ep2TlQVbevMfOId7cojsp9FzKkNDFR0rnco= +github.com/magodo/aztft v0.3.1-0.20240802001407-2834614c6d9c/go.mod h1:CHeYYR+/RTjUry+0bpkI49PvQ/1sTe7itA+9BqKE1/8= github.com/magodo/tfadd v0.10.1-0.20230512075749-9c0bab46fdb8 h1:GWxGiCXPxOpekP5dBrPMQTfF7KdmwQ7EPlBeohJlPgo= github.com/magodo/tfadd v0.10.1-0.20230512075749-9c0bab46fdb8/go.mod h1:DbJnYhmAkyjNnVt819cytTfJMtv5DpqV9MkHuUbyv3c= github.com/magodo/tfpluginschema v0.0.0-20220905090502-2d6a05ebaefd h1:L0kTduNwpx60EdBPYOVF9oUY7jdfZHIncvQN490qWd4= diff --git a/vendor/github.com/magodo/aztft/internal/resmap/map.json b/vendor/github.com/magodo/aztft/internal/resmap/map.json index ea8a29c8..2c7bd8d7 100644 --- a/vendor/github.com/magodo/aztft/internal/resmap/map.json +++ b/vendor/github.com/magodo/aztft/internal/resmap/map.json @@ -4719,6 +4719,36 @@ ] } }, + "azurerm_dev_center_dev_box_definition": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.DevCenter", + "types": [ + "devCenters", + "devBoxDefinitions" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.DevCenter/devCenters/devBoxDefinitions" + ] + } + }, + "azurerm_dev_center_environment_type": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.DevCenter", + "types": [ + "devCenters", + "environmentTypes" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.DevCenter/devCenters/environmentTypes" + ] + } + }, "azurerm_dev_center_gallery": { "management_plane": { "scopes": [ @@ -4734,6 +4764,20 @@ ] } }, + "azurerm_dev_center_network_connection": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.DevCenter", + "types": [ + "networkConnections" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.DevCenter/networkConnections" + ] + } + }, "azurerm_dev_center_project": { "management_plane": { "scopes": [ @@ -13526,6 +13570,20 @@ ] } }, + "azurerm_stack_hci_logical_network": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.AzureStackHCI", + "types": [ + "logicalNetworks" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.AzureStackHCI/logicalNetworks" + ] + } + }, "azurerm_static_site": { "is_removed": true, "remove_reason": "This is deprecated in favor of `azurerm_static_web_app`", @@ -15348,6 +15406,35 @@ ] } }, + "azurerm_virtual_machine_restore_point": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.Compute", + "types": [ + "restorePointCollections", + "restorePoints" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.Compute/restorePointCollections/restorePoints" + ] + } + }, + "azurerm_virtual_machine_restore_point_collection": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.Compute", + "types": [ + "restorePointCollections" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.Compute/restorePointCollections" + ] + } + }, "azurerm_virtual_machine_run_command": { "management_plane": { "scopes": [ diff --git a/vendor/github.com/magodo/aztft/internal/resmap/map_gen.json b/vendor/github.com/magodo/aztft/internal/resmap/map_gen.json index 4075e017..d05ed62d 100644 --- a/vendor/github.com/magodo/aztft/internal/resmap/map_gen.json +++ b/vendor/github.com/magodo/aztft/internal/resmap/map_gen.json @@ -4684,6 +4684,36 @@ ] } }, + "azurerm_dev_center_dev_box_definition": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.DevCenter", + "types": [ + "devCenters", + "devBoxDefinitions" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.DevCenter/devCenters/devBoxDefinitions" + ] + } + }, + "azurerm_dev_center_environment_type": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.DevCenter", + "types": [ + "devCenters", + "environmentTypes" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.DevCenter/devCenters/environmentTypes" + ] + } + }, "azurerm_dev_center_gallery": { "management_plane": { "scopes": [ @@ -4699,6 +4729,20 @@ ] } }, + "azurerm_dev_center_network_connection": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.DevCenter", + "types": [ + "networkConnections" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.DevCenter/networkConnections" + ] + } + }, "azurerm_dev_center_project": { "management_plane": { "scopes": [ @@ -13316,6 +13360,20 @@ ] } }, + "azurerm_stack_hci_logical_network": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.AzureStackHCI", + "types": [ + "logicalNetworks" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.AzureStackHCI/logicalNetworks" + ] + } + }, "azurerm_static_site": { "management_plane": { "scopes": [ @@ -15121,6 +15179,35 @@ ] } }, + "azurerm_virtual_machine_restore_point": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.Compute", + "types": [ + "restorePointCollections", + "restorePoints" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.Compute/restorePointCollections/restorePoints" + ] + } + }, + "azurerm_virtual_machine_restore_point_collection": { + "management_plane": { + "scopes": [ + "/subscriptions/resourceGroups" + ], + "provider": "Microsoft.Compute", + "types": [ + "restorePointCollections" + ], + "import_specs": [ + "/subscriptions/resourceGroups/Microsoft.Compute/restorePointCollections" + ] + } + }, "azurerm_virtual_machine_run_command": { "management_plane": { "scopes": [ diff --git a/vendor/modules.txt b/vendor/modules.txt index 7fac3044..ec646930 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -278,7 +278,7 @@ github.com/imdario/mergo # github.com/magodo/armid v0.0.0-20230511151020-27880e5961c3 ## explicit; go 1.18 github.com/magodo/armid -# github.com/magodo/aztft v0.3.1-0.20240628052037-ea373ea89d48 +# github.com/magodo/aztft v0.3.1-0.20240802001407-2834614c6d9c ## explicit; go 1.19 github.com/magodo/aztft/aztft github.com/magodo/aztft/internal/client