Refactor encryption configuration (#1387)

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
Christian Mesh
2024-03-13 10:58:52 -04:00
committed by GitHub
parent 4c4d9bca67
commit 586c45fe5a
33 changed files with 86 additions and 127 deletions

View File

@@ -124,7 +124,7 @@ func (c *StateRmCommand) Run(args []string) int {
return 0 // This is as far as we go in dry-run mode
}
b, backendDiags := c.Backend(nil, enc.Backend())
b, backendDiags := c.Backend(nil, enc.State())
diags = diags.Append(backendDiags)
if backendDiags.HasErrors() {
c.showDiagnostics(diags)