Skip to content

Commit

Permalink
fixing provider
Browse files Browse the repository at this point in the history
  • Loading branch information
beautse committed Jan 9, 2025
1 parent c8e084b commit b29b4f5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
9 changes: 7 additions & 2 deletions eventbridge-schedule-to-lambda-terraform-go/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ terraform {
}
}

variable "aws_region" {
type = string
description = "AWS region"
default = "us-east-1"
}

provider "aws" {
profile = "default"
region = "us-east-1"
region = var.aws_region
}

data "aws_caller_identity" "current" {}
Expand Down
9 changes: 7 additions & 2 deletions eventbridge-schedule-to-lambda-terraform-java/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ terraform {
}
}

variable "aws_region" {
type = string
description = "AWS region"
default = "us-east-1"
}

provider "aws" {
profile = "default"
region = "us-east-1"
region = var.aws_region
}

data "aws_caller_identity" "current" {}
Expand Down
9 changes: 7 additions & 2 deletions eventbridge-schedule-to-lambda-terraform-python/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ terraform {
}
}

variable "aws_region" {
type = string
description = "AWS region"
default = "us-east-1"
}

provider "aws" {
profile = "default"
region = "us-east-1"
region = var.aws_region
}

data "aws_caller_identity" "current" {}
Expand Down

0 comments on commit b29b4f5

Please sign in to comment.