Skip to content

Commit

Permalink
Fixes tflint terraform_unused_declarations for data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Oct 10, 2024
1 parent 16fe8fa commit 8de1213
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_datapipeline_pipeline" "test" {
pipeline_id = aws_datapipeline_pipeline.test.id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_dms_certificate" "test" {
certificate_id = aws_dms_certificate.test.certificate_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_dms_endpoint" "test" {
endpoint_id = aws_dms_endpoint.test.endpoint_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_dms_replication_instance" "test" {
replication_instance_id = aws_dms_replication_instance.test.replication_instance_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_dms_replication_subnet_group" "test" {
replication_subnet_group_id = aws_dms_replication_subnet_group.test.replication_subnet_group_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_dms_replication_task" "test" {
replication_task_id = aws_dms_replication_task.test.replication_task_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_quicksight_analysis" "test" {
analysis_id = aws_quicksight_analysis.test.analysis_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_quicksight_data_set" "test" {
data_set_id = aws_quicksight_data_set.test.data_set_id
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_sesv2_configuration_set" "test" {
configuration_set_name = aws_sesv2_configuration_set.test.configuration_set_name
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_sesv2_dedicated_ip_pool" "test" {
pool_name = aws_sesv2_dedicated_ip_pool.test.pool_name
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# tflint-ignore: terraform_unused_declarations
data "aws_sesv2_email_identity" "test" {
email_identity = aws_sesv2_email_identity.test.email_identity
}
Expand Down

0 comments on commit 8de1213

Please sign in to comment.