Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.9.0
Target azurerm version: v4.64.0

## v2.8.0
Target azurerm version: v4.54.0

Expand Down
4 changes: 2 additions & 2 deletions azurerm/schema/provider_gen.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/hashicorp/terraform-exec v0.21.0
github.com/hashicorp/terraform-json v0.22.1
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0
github.com/magodo/aztft v0.3.1-0.20251115232612-bd81c936d4f1
github.com/magodo/aztft v0.3.1-0.20260219230708-1e51977ce1cb
github.com/magodo/tfadd v0.10.1-0.20240902124619-bd18a56f410d
github.com/mitchellh/cli v1.1.5
github.com/zclconf/go-cty v1.15.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/magodo/armid v0.0.0-20250724105512-5cedfa9dd8e2 h1:VsPUbgpitfe1ZtpkoNfEjZuGHx0vqtYJ6DDLQUZKeWo=
github.com/magodo/armid v0.0.0-20250724105512-5cedfa9dd8e2/go.mod h1:rR8E7zfGMbmfnSQvrkFiWYdhrfTqsVSltelnZB09BwA=
github.com/magodo/aztft v0.3.1-0.20251115232612-bd81c936d4f1 h1:Pn7dB852qubHmh1rw77hg9y7w186Osh1sFOX1sw4EIc=
github.com/magodo/aztft v0.3.1-0.20251115232612-bd81c936d4f1/go.mod h1:UzAqtQ+ruBldesaODTTNBBibZXxco4uXH1ZxWElssm0=
github.com/magodo/aztft v0.3.1-0.20260219230708-1e51977ce1cb h1:jrsm6kGkbKeBiEqwMFyYYcxHYv80fFQGIdlb7UWHo9k=
github.com/magodo/aztft v0.3.1-0.20260219230708-1e51977ce1cb/go.mod h1:UzAqtQ+ruBldesaODTTNBBibZXxco4uXH1ZxWElssm0=
github.com/magodo/tfadd v0.10.1-0.20240902124619-bd18a56f410d h1:dmS4jSfNIfshWkh43yK4n1Qx0BsaKrfxMiqRg0fKKYw=
github.com/magodo/tfadd v0.10.1-0.20240902124619-bd18a56f410d/go.mod h1:G2Hc13YaLGHa+CPEP/HZzj9sIGyKDM5ZXInzQ8Dp86s=
github.com/magodo/tfpluginschema v0.0.0-20240902090353-0525d7d8c1c2 h1:Unxx8WLxzSxINnq7hItp4cXD7drihgfPltTd91efoBo=
Expand Down
6 changes: 3 additions & 3 deletions types/hcl.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func ReplaceResourceBlock(workingDirectory, targetAddress string, newBlocks []*h
f.Body().AppendNewline()
}
if found {
if err := os.WriteFile(filepath.Join(workingDirectory, file.Name()), hclwrite.Format(f.Bytes()), 0600); err != nil {
if err := os.WriteFile(filepath.Join(workingDirectory, file.Name()), hclwrite.Format(f.Bytes()), 0600); err != nil { // #nosec G703
log.Printf("[Error] saving configuration %s: %+v", file.Name(), err)
}
return nil
Expand Down Expand Up @@ -103,7 +103,7 @@ func ReplaceGenericOutputs(workingDirectory string, outputs []Output) error {
ReplaceOutputs(block, outputs)
}
}
if err := os.WriteFile(filepath.Join(workingDirectory, file.Name()), hclwrite.Format(f.Bytes()), 0600); err != nil {
if err := os.WriteFile(filepath.Join(workingDirectory, file.Name()), hclwrite.Format(f.Bytes()), 0600); err != nil { // #nosec G703
log.Printf("[Error] saving configuration %s: %+v", file.Name(), err)
}
}
Expand Down Expand Up @@ -147,7 +147,7 @@ func UpdateMigratedResourceBlock(workingDirectory string, resources []AzapiUpdat
}
}

if err := os.WriteFile(filepath.Join(workingDirectory, file.Name()), hclwrite.Format(f.Bytes()), 0600); err != nil {
if err := os.WriteFile(filepath.Join(workingDirectory, file.Name()), hclwrite.Format(f.Bytes()), 0600); err != nil { // #nosec G703
log.Printf("[Error] saving configuration %s: %+v", file.Name(), err)
}
}
Expand Down
Loading
Loading