Skip to content

Commit

Permalink
r/s3_bucket_acl: new resource (#22853)
Browse files Browse the repository at this point in the history
* r/s3_bucket_acl: new resource

* Update CHANGELOG for #22853

* r/s3_bucket: acctest fixes

* add note about resource deletion

* update acl resource names

* update s3_bucket docs to use acl resource

* r/s3_bucket_acl: add warning log when deleting from state

* simplify resource ID parsing with regex; create resource ID with only comma separators; add id test coverage

* remove unnecessary import ignore field
  • Loading branch information
anGie44 authored Feb 5, 2022
1 parent 9a5875f commit cf6dd26
Show file tree
Hide file tree
Showing 7 changed files with 1,669 additions and 254 deletions.
3 changes: 3 additions & 0 deletions .changelog/22853.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_s3_bucket_acl
```
1 change: 1 addition & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,7 @@ func Provider() *schema.Provider {

"aws_s3_bucket": s3.ResourceBucket(),
"aws_s3_bucket_accelerate_configuration": s3.ResourceBucketAccelerateConfiguration(),
"aws_s3_bucket_acl": s3.ResourceBucketAcl(),
"aws_s3_bucket_analytics_configuration": s3.ResourceBucketAnalyticsConfiguration(),
"aws_s3_bucket_cors_configuration": s3.ResourceBucketCorsConfiguration(),
"aws_s3_bucket_intelligent_tiering_configuration": s3.ResourceBucketIntelligentTieringConfiguration(),
Expand Down
Loading

0 comments on commit cf6dd26

Please sign in to comment.