mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-07 22:53:08 -06:00
c2469c95f4
Contains provider configuration, a rabbitmq_vhost resource, and acceptance test.
15 lines
217 B
Go
15 lines
217 B
Go
package rabbitmq
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/helper/schema"
|
|
)
|
|
|
|
func checkDeleted(d *schema.ResourceData, err error) error {
|
|
if err.Error() == "not found" {
|
|
d.SetId("")
|
|
return nil
|
|
}
|
|
|
|
return err
|
|
}
|