Created
June 9, 2025 08:33
-
-
Save nivleshc/264c408cf26fd86f0c9268794df643d1 to your computer and use it in GitHub Desktop.
This gist contains code from the file provider.tf which is part of the blog-photo-location-map repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
region = local.region | |
default_tags { | |
tags = { | |
Project = local.lambda_function_name_prefix | |
} | |
} | |
} | |
terraform { | |
backend "s3" { | |
bucket = "<myterraformbucket>" | |
key = "<path-to-my-tfstate-file>/terraform.tfstate" | |
region = "ap-southeast-2" | |
use_lockfile = true | |
} | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "5.89.0" | |
} | |
archive = { | |
source = "hashicorp/archive" | |
version = "2.7.0" | |
} | |
local = { | |
source = "hashicorp/local" | |
version = "2.5.2" | |
} | |
} | |
required_version = "1.11" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment