Skip to content

Commit

Permalink
fix: Use new format for required providers
Browse files Browse the repository at this point in the history
  • Loading branch information
angelabad committed Sep 17, 2023
1 parent 2d94f87 commit bba8e5a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
8 changes: 0 additions & 8 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ locals {
enable_logs = var.s3_logs_bucket != "" || var.cloudwatch_logs_group != "" || var.firehose_logs_delivery_stream != "" ? ["true"] : []
}

terraform {
required_version = ">= 0.15"
required_providers {
aws = ">= 4.16"
random = ">= 2.1"
}
}

data "aws_subnet" "this" {
id = var.client_subnets[0]
}
Expand Down
13 changes: 13 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
terraform {
required_version = ">= 0.15"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.16"
}
random = {
source = "hashicorp/random"
version = ">= 2.1"
}
}
}

0 comments on commit bba8e5a

Please sign in to comment.