Skip to content

Commit

Permalink
Support ARN format. (#69)
Browse files Browse the repository at this point in the history
* Support ARN format.

* Support ARN format.
  • Loading branch information
sfc-gh-pkommini authored Jul 1, 2022
1 parent 24d9655 commit 80a8c7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module "geff" {
env = var.env

# AWS
arn_format = var.arn_format
aws_cloudwatch_metric_namespace = var.aws_cloudwatch_metric_namespace
aws_region = var.aws_region

Expand Down
6 changes: 6 additions & 0 deletions examples/complete/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ variable "sentry_driver_dsn" {
default = ""
}

variable "arn_format" {
type = string
description = "ARN format could be aws or aws-us-gov. Defaults to non-gov."
default = "aws"
}

data "aws_caller_identity" "current" {}

locals {
Expand Down
1 change: 1 addition & 0 deletions storage_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module "storage_integration" {
env = var.env

# AWS
arn_format = var.arn_format
data_bucket_arns = var.data_bucket_arns
snowflake_integration_user_roles = var.snowflake_integration_user_roles

Expand Down

0 comments on commit 80a8c7c

Please sign in to comment.