Skip to content

Commit

Permalink
chore: fix pre-commit errors and checkov warninggs
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-svensson committed Jan 24, 2025
1 parent 8fa8d80 commit 94cd2a1
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ example/%:
@terraform -chdir=$* init
@terraform -chdir=$* validate
@terraform -chdir=$* plan

10 changes: 10 additions & 0 deletions examples/basic/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ provider "aws" {
sts = "http://localhost:4566"
}
}

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
required_version = ">= 1.3.0"
}
10 changes: 10 additions & 0 deletions examples/override/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ provider "aws" {
sts = "http://localhost:4566"
}
}

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
required_version = ">= 1.3.0"
}
10 changes: 10 additions & 0 deletions examples/public/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ provider "aws" {
sts = "http://localhost:4566"
}
}

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
required_version = ">= 1.3.0"
}
14 changes: 14 additions & 0 deletions providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
terraform {
required_providers {
null = {
source = "hashicorp/null"
version = "3.2.3"
}

aws = {
source = "hashicorp/aws"
version = "~> 5.1"
}
}
required_version = ">= 1.3.0"
}

0 comments on commit 94cd2a1

Please sign in to comment.