provider/circonus: Remove ValidateFunc from Computed-only field
This commit is contained in:
parent
9867ce4dde
commit
f95b37638d
|
@ -6,7 +6,6 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/circonus-labs/circonus-gometrics/api"
|
"github.com/circonus-labs/circonus-gometrics/api"
|
||||||
"github.com/circonus-labs/circonus-gometrics/api/config"
|
|
||||||
"github.com/hashicorp/errwrap"
|
"github.com/hashicorp/errwrap"
|
||||||
"github.com/hashicorp/terraform/helper/hashcode"
|
"github.com/hashicorp/terraform/helper/hashcode"
|
||||||
"github.com/hashicorp/terraform/helper/schema"
|
"github.com/hashicorp/terraform/helper/schema"
|
||||||
|
@ -85,9 +84,8 @@ func resourceMetricCluster() *schema.Resource {
|
||||||
|
|
||||||
// Out parameters
|
// Out parameters
|
||||||
metricClusterIDAttr: &schema.Schema{
|
metricClusterIDAttr: &schema.Schema{
|
||||||
Computed: true,
|
Computed: true,
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
ValidateFunc: validateRegexp(metricClusterIDAttr, config.MetricClusterCIDRegex),
|
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue