Skip to content

Commit fb7dd84

Browse files
committed
Fix tflint 'terraform_unused_declarations'.
1 parent eff74dc commit fb7dd84

File tree

6 files changed

+0
-9
lines changed

6 files changed

+0
-9
lines changed

internal/service/s3tables/testdata/TableBucketReplication/basic/main_gen.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ resource "aws_s3tables_table_bucket_replication" "test" {
1212
}
1313
}
1414

15-
data "aws_partition" "current" {}
1615
data "aws_service_principal" "current" {
1716
service_name = "s3"
1817
}

internal/service/s3tables/testdata/TableBucketReplication/region_override/main_gen.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ resource "aws_s3tables_table_bucket_replication" "test" {
1414
}
1515
}
1616

17-
data "aws_partition" "current" {}
1817
data "aws_service_principal" "current" {
1918
service_name = "s3"
2019
}

internal/service/s3tables/testdata/TableReplication/basic/main_gen.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ resource "aws_s3tables_namespace" "test" {
2828
}
2929
}
3030

31-
32-
data "aws_partition" "current" {}
3331
data "aws_service_principal" "current" {
3432
service_name = "s3"
3533
}

internal/service/s3tables/testdata/TableReplication/region_override/main_gen.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ resource "aws_s3tables_namespace" "test" {
3434
}
3535
}
3636

37-
38-
data "aws_partition" "current" {}
3937
data "aws_service_principal" "current" {
4038
service_name = "s3"
4139
}

internal/service/s3tables/testdata/tmpl/table_bucket_replication_basic.gtpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ resource "aws_s3tables_table_bucket_replication" "test" {
1010
}
1111
}
1212

13-
data "aws_partition" "current" {}
1413
data "aws_service_principal" "current" {
1514
service_name = "s3"
1615
}

internal/service/s3tables/testdata/tmpl/table_replication_basic.gtpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ resource "aws_s3tables_namespace" "test" {
2828
}
2929
}
3030

31-
32-
data "aws_partition" "current" {}
3331
data "aws_service_principal" "current" {
3432
service_name = "s3"
3533
}

0 commit comments

Comments
 (0)