From 5d52402338b3db8569be4da53e036f92d0ba38f5 Mon Sep 17 00:00:00 2001 From: Prasanth Kommini Date: Mon, 18 Jul 2022 14:44:39 -0700 Subject: [PATCH] Fix upper case provider name. --- api_integration.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_integration.tf b/api_integration.tf index 3963128..6714ea5 100644 --- a/api_integration.tf +++ b/api_integration.tf @@ -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}" }