Skip to content

Commit

Permalink
Plural data source generator: New Go packages: hashicorp/terraform-pl…
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Aug 18, 2022
1 parent db4f4c4 commit 8567f63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/provider/generators/plural-data-source/schema.tmpl
Expand Up @@ -5,6 +5,7 @@ package {{ .PackageName }}
import (
"context"

"github.com/hashicorp/terraform-plugin-framework/provider"
"github.com/hashicorp/terraform-plugin-framework/tfsdk"
"github.com/hashicorp/terraform-plugin-framework/types"
. "github.com/hashicorp/terraform-provider-awscc/internal/generic"
Expand All @@ -17,7 +18,7 @@ func init() {

// {{ .FactoryFunctionName }} returns the Terraform {{ .TerraformTypeName }} data source type.
// This Terraform data source type corresponds to the CloudFormation {{ .CloudFormationTypeName }} resource type.
func {{ .FactoryFunctionName }}(ctx context.Context) (tfsdk.DataSourceType, error) {
func {{ .FactoryFunctionName }}(ctx context.Context) (provider.DataSourceType, error) {
attributes := map[string]tfsdk.Attribute {
"id": {
Description: "Uniquely identifies the data source.",
Expand Down

0 comments on commit 8567f63

Please sign in to comment.