Skip to content

Commit bba8e5a

Browse files
committed
fix: Use new format for required providers
1 parent 2d94f87 commit bba8e5a

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

main.tf

-8
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ locals {
33
enable_logs = var.s3_logs_bucket != "" || var.cloudwatch_logs_group != "" || var.firehose_logs_delivery_stream != "" ? ["true"] : []
44
}
55

6-
terraform {
7-
required_version = ">= 0.15"
8-
required_providers {
9-
aws = ">= 4.16"
10-
random = ">= 2.1"
11-
}
12-
}
13-
146
data "aws_subnet" "this" {
157
id = var.client_subnets[0]
168
}

versions.tf

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
terraform {
2+
required_version = ">= 0.15"
3+
required_providers {
4+
aws = {
5+
source = "hashicorp/aws"
6+
version = ">= 4.16"
7+
}
8+
random = {
9+
source = "hashicorp/random"
10+
version = ">= 2.1"
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)