20 lines
447 B
Go
20 lines
447 B
Go
package random
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/helper/schema"
|
|
"github.com/hashicorp/terraform/terraform"
|
|
)
|
|
|
|
// Provider returns a terraform.ResourceProvider.
|
|
func Provider() terraform.ResourceProvider {
|
|
return &schema.Provider{
|
|
Schema: map[string]*schema.Schema{},
|
|
|
|
ResourcesMap: map[string]*schema.Resource{
|
|
"random_id": resourceId(),
|
|
"random_shuffle": resourceShuffle(),
|
|
"random_pet": resourcePet(),
|
|
},
|
|
}
|
|
}
|