Skip to content

Commit

Permalink
move deprecation message up near field name
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Feb 3, 2022
1 parent 46b7dcc commit fd4c8bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/service/s3/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,9 @@ func ResourceBucket() *schema.Resource {
},

"logging": {
Type: schema.TypeSet,
Computed: true,
Type: schema.TypeSet,
Computed: true,
Deprecated: "Use the aws_s3_bucket_logging resource instead",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"target_bucket": {
Expand All @@ -259,7 +260,6 @@ func ResourceBucket() *schema.Resource {
},
},
},
Deprecated: "Use the aws_s3_bucket_logging resource instead",
},

"lifecycle_rule": {
Expand Down

0 comments on commit fd4c8bf

Please sign in to comment.