Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions example/providers.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@

provider "aws" {
region = var.aws_region
access_key = var.aws_access_key_id
Comment thread
mtompset marked this conversation as resolved.
secret_key = var.aws_secret_access_key
region = var.aws_region
}

provider "aws" {
region = var.aws_region_secondary
access_key = var.aws_access_key_id
secret_key = var.aws_secret_access_key
region = var.aws_region_secondary

alias = "secondary"
}
Expand Down
12 changes: 0 additions & 12 deletions example/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ variable "api_name" {
type = string
}

variable "aws_access_key_id" {
description = "AWS Access Key ID, used for calls to both AWS regions"
type = string
default = null
}

variable "aws_secret_access_key" {
description = "AWS Secret Access Key, used for calls to both AWS regions"
type = string
default = null
}

variable "aws_region" {
description = "Primary AWS region where you run your Serverless API (e.g. us-east-2)"
type = string
Expand Down