Skip to content

Commit 891887f

Browse files
committed
d/aws_s3_access_point: Add tags to schema.
1 parent 9943df6 commit 891887f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/service/s3control/access_point_data_source.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
fwflex "github.com/hashicorp/terraform-provider-aws/internal/framework/flex"
1616
fwtypes "github.com/hashicorp/terraform-provider-aws/internal/framework/types"
1717
fwvalidators "github.com/hashicorp/terraform-provider-aws/internal/framework/validators"
18+
tftags "github.com/hashicorp/terraform-provider-aws/internal/tags"
1819
"github.com/hashicorp/terraform-provider-aws/names"
1920
)
2021

@@ -68,6 +69,7 @@ func (d *accessPointDataSource) Schema(ctx context.Context, request datasource.S
6869
Computed: true,
6970
},
7071
"public_access_block_configuration": framework.DataSourceComputedListOfObjectAttribute[publicAccessBlockConfigurationModel](ctx),
72+
names.AttrTags: tftags.TagsAttributeComputedOnly(),
7173
names.AttrVPCConfiguration: framework.DataSourceComputedListOfObjectAttribute[vpcConfigurationModel](ctx),
7274
},
7375
}
@@ -118,6 +120,7 @@ type accessPointDataSourceModel struct {
118120
Name types.String `tfsdk:"name"`
119121
NetworkOrigin types.String `tfsdk:"network_origin"`
120122
PublicAccessBlockConfiguration fwtypes.ListNestedObjectValueOf[publicAccessBlockConfigurationModel] `tfsdk:"public_access_block_configuration"`
123+
Tags tftags.Map `tfsdk:"tags"`
121124
VPCConfiguration fwtypes.ListNestedObjectValueOf[vpcConfigurationModel] `tfsdk:"vpc_configuration"`
122125
}
123126

0 commit comments

Comments
 (0)