Skip to content

Instantly share code, notes, and snippets.

@snassr
Last active October 14, 2023 16:11
Show Gist options
  • Save snassr/61ab722c1897baada8a91b77fb404ce3 to your computer and use it in GitHub Desktop.
Save snassr/61ab722c1897baada8a91b77fb404ce3 to your computer and use it in GitHub Desktop.
medium_blog_652A1BBE_awsnetworking_provider.tf
terraform {
required_version = "> 1.5.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "= 5.3.0"
}
}
backend "s3" {
region = "us-west-2"
bucket = "awsnetblog-s3b-tf"
key = "state"
profile = "default"
}
}
provider "aws" {
region = var.region
shared_credentials_files = ["~/.aws/credentials"]
profile = "default"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment