2016-08-08 02:56:44 +02:00
|
|
|
package archive
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/terraform/helper/schema"
|
|
|
|
"github.com/hashicorp/terraform/terraform"
|
|
|
|
)
|
|
|
|
|
|
|
|
func Provider() terraform.ResourceProvider {
|
|
|
|
return &schema.Provider{
|
2016-10-25 16:59:06 +02:00
|
|
|
DataSourcesMap: map[string]*schema.Resource{
|
|
|
|
"archive_file": dataSourceFile(),
|
|
|
|
},
|
2016-08-08 02:56:44 +02:00
|
|
|
ResourcesMap: map[string]*schema.Resource{
|
2016-10-25 16:59:06 +02:00
|
|
|
"archive_file": schema.DataSourceResourceShim(
|
|
|
|
"archive_file",
|
|
|
|
dataSourceFile(),
|
|
|
|
),
|
2016-08-08 02:56:44 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|