Skip to content

Commit a60d551

Browse files
Felix Ziegerfelixzieger
authored andcommitted
fix: data blocks in modules, not in provider
1 parent 314c32c commit a60d551

File tree

12 files changed

+20
-9
lines changed

12 files changed

+20
-9
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,9 @@ Before opening a Pull Request, we recommend following the below steps to get a f
165165
166166
| Name | Version |
167167
|------|---------|
168-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.33.0 |
169-
| <a name="provider_aws.automation"></a> [aws.automation](#provider\_aws.automation) | 5.33.0 |
170-
| <a name="provider_aws.management"></a> [aws.management](#provider\_aws.management) | 5.33.0 |
171-
| <a name="provider_aws.meshcloud"></a> [aws.meshcloud](#provider\_aws.meshcloud) | 5.33.0 |
168+
| <a name="provider_aws.automation"></a> [aws.automation](#provider\_aws.automation) | 5.37.0 |
169+
| <a name="provider_aws.management"></a> [aws.management](#provider\_aws.management) | 5.37.0 |
170+
| <a name="provider_aws.meshcloud"></a> [aws.meshcloud](#provider\_aws.meshcloud) | 5.37.0 |
172171
173172
## Modules
174173
@@ -187,7 +186,6 @@ Before opening a Pull Request, we recommend following the below steps to get a f
187186
| [aws_caller_identity.automation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
188187
| [aws_caller_identity.management](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
189188
| [aws_caller_identity.meshcloud](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
190-
| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
191189
192190
## Inputs
193191

main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ data "aws_caller_identity" "automation" {
88
provider = aws.automation
99
}
1010

11-
data "aws_partition" "current" {}
12-
1311
module "meshcloud_account_metering_access" {
1412
source = "./modules/meshcloud-cost-explorer/ce-meshcloud-account-access"
1513
providers = {

modules/meshcloud-cost-explorer/ce-management-account-access/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
| Name | Version |
1111
|------|---------|
12-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.7.0 |
12+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.37.0 |
1313

1414
## Modules
1515

@@ -25,6 +25,7 @@ No modules.
2525
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
2626
| [aws_iam_policy_document.cost_explorer_service](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
2727
| [aws_iam_policy_document.cost_explorer_service_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
28+
| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
2829

2930
## Inputs
3031

modules/meshcloud-cost-explorer/ce-management-account-access/data.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ locals {
44

55
data "aws_caller_identity" "current" {}
66

7+
data "aws_partition" "current" {}
8+
79
data "aws_iam_policy_document" "cost_explorer_service" {
810
version = "2012-10-17"
911

modules/meshcloud-cost-explorer/ce-meshcloud-account-access/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
| Name | Version |
1111
|------|---------|
12-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.7.0 |
12+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.37.0 |
1313

1414
## Modules
1515

@@ -25,6 +25,7 @@ No modules.
2525
| [aws_iam_user_policy_attachment.meshcloud_cost_explorer](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_policy_attachment) | resource |
2626
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
2727
| [aws_iam_policy_document.meshcloud_cost_explorer_user_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
28+
| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
2829

2930
## Inputs
3031

modules/meshcloud-cost-explorer/ce-meshcloud-account-access/data.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ locals {
44

55
data "aws_caller_identity" "current" {}
66

7+
data "aws_partition" "current" {}
8+
79
data "aws_iam_policy_document" "meshcloud_cost_explorer_user_assume_role" {
810
version = "2012-10-17"
911
statement {

modules/meshcloud-replicator/replicator-automation-account-access/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ No modules.
3030
| [aws_iam_policy_document.cloudformation_stackset_execution](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3131
| [aws_iam_policy_document.meshfed_automation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3232
| [aws_iam_policy_document.meshfed_automation_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
33+
| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
3334

3435
## Inputs
3536

modules/meshcloud-replicator/replicator-automation-account-access/data.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ locals {
44

55
data "aws_caller_identity" "current" {}
66

7+
data "aws_partition" "current" {}
8+
79
data "aws_iam_policy_document" "meshfed_automation_assume_role" {
810
version = "2012-10-17"
911
statement {

modules/meshcloud-replicator/replicator-management-account-access/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ No modules.
3131
| [aws_iam_policy_document.meshfed_service](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3232
| [aws_iam_policy_document.meshfed_service_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3333
| [aws_iam_policy_document.meshfed_service_enrollment_additional](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
34+
| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
3435

3536
## Inputs
3637

modules/meshcloud-replicator/replicator-management-account-access/data.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ locals {
44

55
data "aws_caller_identity" "current" {}
66

7+
data "aws_partition" "current" {}
8+
79
data "aws_iam_policy_document" "meshfed_service" {
810
version = "2012-10-17"
911
statement {

0 commit comments

Comments
 (0)