Skip to content

Commit 4a53d49

Browse files
committed
fix tflint errors in example
1 parent 188d17e commit 4a53d49

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

example/providers.tf

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
terraform {
2+
required_version = ">= 1.0"
3+
4+
required_providers {
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = "~> 5.0"
8+
}
9+
}
10+
}
11+
112
provider "aws" {
213
region = var.aws_region
314

example/variables.tf

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
variable "aws_region" {
2+
type = string
23
default = "us-east-1"
34
}

0 commit comments

Comments
 (0)