29 lines
604 B
Go
29 lines
604 B
Go
![]() |
package opc
|
||
|
|
||
|
import "github.com/hashicorp/terraform/helper/schema"
|
||
|
|
||
|
func tagsOptionalSchema() *schema.Schema {
|
||
|
return &schema.Schema{
|
||
|
Type: schema.TypeList,
|
||
|
Optional: true,
|
||
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func tagsForceNewSchema() *schema.Schema {
|
||
|
return &schema.Schema{
|
||
|
Type: schema.TypeList,
|
||
|
Optional: true,
|
||
|
ForceNew: true,
|
||
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func tagsComputedSchema() *schema.Schema {
|
||
|
return &schema.Schema{
|
||
|
Type: schema.TypeList,
|
||
|
Computed: true,
|
||
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||
|
}
|
||
|
}
|