Skip to content

Commit

Permalink
[r|d]/quicksight: add missing name annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-b committed Apr 12, 2023
1 parent 1f2bf25 commit 978d921
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion internal/service/quicksight/account_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

// Function annotations are used for resource registration to the Provider. DO NOT EDIT.
// @SDKResource("aws_quicksight_account_subscription")
// @SDKResource("aws_quicksight_account_subscription", name="Account Subscription")
func ResourceAccountSubscription() *schema.Resource {
return &schema.Resource{
CreateWithoutTimeout: resourceAccountSubscriptionCreate,
Expand Down
2 changes: 1 addition & 1 deletion internal/service/quicksight/data_set_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/names"
)

// @SDKDataSource("aws_quicksight_data_set")
// @SDKDataSource("aws_quicksight_data_set", name="Data Set")
func DataSourceDataSet() *schema.Resource {
return &schema.Resource{
ReadWithoutTimeout: dataSourceDataSetRead,
Expand Down
2 changes: 1 addition & 1 deletion internal/service/quicksight/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag"
)

// @SDKResource("aws_quicksight_group")
// @SDKResource("aws_quicksight_group", name="Group")
func ResourceGroup() *schema.Resource {
return &schema.Resource{
CreateWithoutTimeout: resourceGroupCreate,
Expand Down
2 changes: 1 addition & 1 deletion internal/service/quicksight/group_membership.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/conns"
)

// @SDKResource("aws_quicksight_group_membership")
// @SDKResource("aws_quicksight_group_membership", name="Group Membership")
func ResourceGroupMembership() *schema.Resource {
return &schema.Resource{
CreateWithoutTimeout: resourceGroupMembershipCreate,
Expand Down
4 changes: 2 additions & 2 deletions internal/service/quicksight/iam_policy_assignment.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import (
"github.com/hashicorp/terraform-provider-aws/names"
)

// @FrameworkResource
// @FrameworkResource(name="IAM Policy Assignment")
func newResourceIAMPolicyAssignment(_ context.Context) (resource.ResourceWithConfigure, error) {
return &resourceIAMPolicyAssignment{}, nil
}

const (
ResNameIAMPolicyAssignment = "IAMPolicyAssignment"
ResNameIAMPolicyAssignment = "IAM Policy Assignment"

DefaultIAMPolicyAssignmentNamespace = "default"
iamPropagationTimeout = 2 * time.Minute
Expand Down
2 changes: 1 addition & 1 deletion internal/service/quicksight/ingestion.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/names"
)

// @FrameworkResource
// @FrameworkResource(name="Ingestion")
func newResourceIngestion(_ context.Context) (resource.ResourceWithConfigure, error) {
return &resourceIngestion{}, nil
}
Expand Down
7 changes: 7 additions & 0 deletions internal/service/quicksight/service_package_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/service/quicksight/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag"
)

// @SDKResource("aws_quicksight_user")
// @SDKResource("aws_quicksight_user", name="User")
func ResourceUser() *schema.Resource {
return &schema.Resource{
CreateWithoutTimeout: resourceUserCreate,
Expand Down

0 comments on commit 978d921

Please sign in to comment.