Skip to content

Commit

Permalink
add test data
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWoolfenden committed Nov 7, 2024
1 parent 1eef085 commit a47f9eb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coverage/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Datasource percentage coverage 99.82
./resource.ps1 aws_route53profiles_profile
./resource.ps1 aws_route53profiles_resource_association
./resource.ps1 aws_rum_metrics_destination
./resource.ps1 aws_s3_bucket_analytics_configuration

./resource.ps1 aws_s3_directory_bucket
./resource.ps1 aws_s3_object_copy
./resource.ps1 aws_s3control_access_grants_instance_resource_policy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[
{
"apply": [
"s3:GetBucketAnalyticsConfiguration",
"s3:PutBucketAnalyticsConfiguration"

],
"attributes": {
"tags": []
Expand Down
23 changes: 23 additions & 0 deletions terraform/aws/backup/aws_s3_bucket_analytics_configuration.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
resource "aws_s3_bucket_analytics_configuration" "pike" {
bucket = aws_s3_bucket.example.id
name = "EntireBucket"

storage_class_analysis {
data_export {
destination {
s3_bucket_destination {
bucket_arn = aws_s3_bucket.analytics.arn
}
}
}
}
}


resource "aws_s3_bucket" "example" {
bucket = "exampleforanalytics"
}

resource "aws_s3_bucket" "analytics" {
bucket = "example=analytics-destination"
}

0 comments on commit a47f9eb

Please sign in to comment.