diff --git a/example/providers.tf b/example/providers.tf index b11e884..66f0ed3 100644 --- a/example/providers.tf +++ b/example/providers.tf @@ -1,14 +1,10 @@ provider "aws" { - region = var.aws_region - access_key = var.aws_access_key_id - 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" } diff --git a/example/variables.tf b/example/variables.tf index a9ead03..2c7f02c 100644 --- a/example/variables.tf +++ b/example/variables.tf @@ -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