forked from pastryer/Pauls-AWS-Dev-Pod
use input variables for aws variables
This commit is contained in:
parent
769ce803de
commit
ace065d9d2
23
providers.tf
23
providers.tf
|
@ -1,12 +1,13 @@
|
||||||
terraform {
|
terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
aws = {
|
aws = {
|
||||||
source = "hashicorp/aws"
|
source = "hashicorp/aws"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
provider "aws" {
|
# Configure the AWS Provider
|
||||||
region = "us-east-1"
|
provider "aws" {
|
||||||
shared_credentials_files = ["~/.aws/credentials"]
|
region = var.aws_region
|
||||||
profile = "vscode"
|
access_key = var.aws_access_key
|
||||||
|
secret_key = var.aws_secret_key
|
||||||
}
|
}
|
Loading…
Reference in New Issue