mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 15:13:56 -06:00
0edbedd1a8
* vendor: adding golang-petname for random_pet resource * provider/random: random_pet resource
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(),
|
|
},
|
|
}
|
|
}
|