diff --git a/internal/provider/utils.go b/internal/provider/utils.go index 2e1b534..fe53bce 100644 --- a/internal/provider/utils.go +++ b/internal/provider/utils.go @@ -106,25 +106,6 @@ func parseTsuruApp(d *schema.ResourceData) *types.TsuruAppRule { } } -func tsuruSchema(baseName string) *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - ExactlyOneOf: []string{baseName + ".0.pool"}, - }, - "pool": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - ExactlyOneOf: []string{baseName + ".0.name"}, - }, - }, - } -} - func rpaasSchema(baseName string) *schema.Resource { return &schema.Resource{ Schema: map[string]*schema.Schema{