Skip to content

Commit 6bafca6

Browse files
authored
Update azlist for the updated arm schemas (#648)
1 parent 23db0d1 commit 6bafca6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ require (
2424
github.com/hashicorp/terraform-json v0.24.0
2525
github.com/hexops/gotextdiff v1.0.3
2626
github.com/magodo/armid v0.0.0-20240524082432-7ce06ae46c33
27-
github.com/magodo/azlist v0.0.0-20250807062828-b842fde1b538
27+
github.com/magodo/azlist v0.0.0-20250827005956-f76aa26d5fe5
2828
github.com/magodo/aztft v0.3.1-0.20250821020218-0a2b243abb92
2929
github.com/magodo/slog2hclog v0.0.0-20240614031327-090ebd72a033
3030
github.com/magodo/spinner v0.0.0-20240524082745-3a2305db1bdc

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69
256256
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
257257
github.com/magodo/armid v0.0.0-20240524082432-7ce06ae46c33 h1:KmQ16pNsI7DaELU+CbqZKXVdvkE/YXqMH6LLkp6rw/Y=
258258
github.com/magodo/armid v0.0.0-20240524082432-7ce06ae46c33/go.mod h1:rR8E7zfGMbmfnSQvrkFiWYdhrfTqsVSltelnZB09BwA=
259-
github.com/magodo/azlist v0.0.0-20250807062828-b842fde1b538 h1:+OY84fSoUN5cdamJQ2TOWjCYCK6d9AktZefEz57ZxXQ=
260-
github.com/magodo/azlist v0.0.0-20250807062828-b842fde1b538/go.mod h1:uRr4kq5cpk4NIUuT1q6ZYYfYSIHO5Z7XlHeN9c2mlKs=
259+
github.com/magodo/azlist v0.0.0-20250827005956-f76aa26d5fe5 h1:nqT0Mj2H9GokP+6dJCwewlK5NqN/vN+egX4/JiXEMMg=
260+
github.com/magodo/azlist v0.0.0-20250827005956-f76aa26d5fe5/go.mod h1:uRr4kq5cpk4NIUuT1q6ZYYfYSIHO5Z7XlHeN9c2mlKs=
261261
github.com/magodo/aztft v0.3.1-0.20250821020218-0a2b243abb92 h1:q0Q/TtZDVw8eZaMAhRdBdckmiGP+AxiE1CPAle3bXuE=
262262
github.com/magodo/aztft v0.3.1-0.20250821020218-0a2b243abb92/go.mod h1:t83k9NbdobHHhjtz6MFetOSRqiKfaNfbBpowxZyzYtw=
263263
github.com/magodo/slog2hclog v0.0.0-20240614031327-090ebd72a033 h1:K2seYsMAzoICCLdDe7uU2WyaACLW+tvdTWG3QB+pyec=

internal/meta/meta_res.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (meta *MetaResource) ListResource(ctx context.Context) (ImportList, error)
7474

7575
rl, err := meta.listByIds(ctx, rl)
7676
if err != nil {
77-
return nil, fmt.Errorf("querying extension resources: %v", err)
77+
return nil, fmt.Errorf("listing resources: %v", err)
7878
}
7979

8080
meta.Logger().Debug("Azure Resource set map to TF resource set")
@@ -203,7 +203,7 @@ func (meta MetaResource) listByIds(ctx context.Context, resources []resourceset.
203203

204204
result, err := lister.ListByIds(ctx, ids)
205205
if err != nil {
206-
return nil, fmt.Errorf("listing extension resources: %w", err)
206+
return nil, fmt.Errorf("azlist listing resources by ids: %w", err)
207207
}
208208

209209
var rl []resourceset.AzureResource

0 commit comments

Comments
 (0)