Skip to content

Commit 613a904

Browse files
committed
Update Terraform provider syntax
1 parent ca5b1fb commit 613a904

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

test-infra/provider.tf

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
provider "aws" {
2-
version = "~> 2"
3-
region = "us-east-1"
1+
terraform {
2+
required_providers {
3+
aws = {
4+
source = "hashicorp/aws"
5+
version = "~> 2"
6+
}
7+
http = {
8+
source = "hashicorp/http"
9+
version = "~> 1"
10+
}
11+
}
412
}
513

6-
provider "http" {
7-
version = "~> 1"
14+
provider "aws" {
15+
region = "us-east-1"
816
}

0 commit comments

Comments
 (0)