Skip to content

Commit

Permalink
Fix upper case provider name.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pkommini committed Jul 18, 2022
1 parent 289de2a commit 5d52402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "snowflake_api_integration" "geff_api_integration" {

name = "${upper(replace(var.prefix, "-", "_"))}_API_INTEGRATION"
enabled = true
api_provider = length(regexall(".*gov.*", local.aws_region)) > 0 ? "AWS_GOV_API_GATEWAY" : "AWS_API_GATEWAY"
api_provider = length(regexall(".*gov.*", local.aws_region)) > 0 ? "aws_gov_api_gateway" : "aws_api_gateway"
api_allowed_prefixes = [local.inferred_api_gw_invoke_url]
api_aws_role_arn = "arn:${var.arn_format}:iam::${local.account_id}:role/${local.api_gw_caller_role_name}"
}
Expand Down

0 comments on commit 5d52402

Please sign in to comment.