Skip to content

Commit

Permalink
Adding 'name=' annotation values for 'FrameworkDataSource' - auditman…
Browse files Browse the repository at this point in the history
…ager.
  • Loading branch information
ewbankkit committed Jan 15, 2025
1 parent 794563f commit 3327c7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/service/auditmanager/control_data_source.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"
)

// @FrameworkDataSource
// @FrameworkDataSource("aws_auditmanager_control", name="Control")
func newDataSourceControl(context.Context) (datasource.DataSourceWithConfigure, error) {
return &dataSourceControl{}, nil
}
Expand Down
2 changes: 1 addition & 1 deletion internal/service/auditmanager/framework_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/names"
)

// @FrameworkDataSource
// @FrameworkDataSource("aws_auditmanager_framework", name="Framework")
func newDataSourceFramework(context.Context) (datasource.DataSourceWithConfigure, error) {
return &dataSourceFramework{}, nil
}
Expand Down
2 changes: 2 additions & 0 deletions internal/service/auditmanager/service_package_gen.go

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

0 comments on commit 3327c7d

Please sign in to comment.