Skip to content

Commit

Permalink
fixup function test and add missing provider schema items
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofallops committed May 22, 2024
1 parent 5d8da0c commit e803e3b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions internal/provider/framework/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ func (p *azureRmFrameworkProvider) Schema(_ context.Context, _ provider.SchemaRe
Optional: true,
},

"purge_soft_deleted_hardware_security_module_keys_on_destroy": schema.BoolAttribute{
Description: "When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module_key` resources will be permanently deleted (e.g purged), when destroyed",
Optional: true,
},

"recover_soft_deleted_certificates": schema.BoolAttribute{
Description: "When enabled soft-deleted `azurerm_key_vault_certificate` resources will be restored, instead of creating new ones",
Optional: true,
Expand All @@ -285,6 +290,11 @@ func (p *azureRmFrameworkProvider) Schema(_ context.Context, _ provider.SchemaRe
Description: "When enabled soft-deleted `azurerm_key_vault_secret` resources will be restored, instead of creating new ones",
Optional: true,
},

"recover_soft_deleted_hardware_security_module_keys": schema.BoolAttribute{
Description: "When enabled soft-deleted `azurerm_key_vault_managed_hardware_security_module_key` resources will be restored, instead of creating new ones",
Optional: true,
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func testOutputMultiple(cases map[string][]string) string {
outputs += fmt.Sprintf(`
output "%s" {
value = provider::azurerm::format_resource_id("%s")
value = provider::azurerm::normalise_resource_id("%s")
}
`, k, v[0])
Expand Down

0 comments on commit e803e3b

Please sign in to comment.