We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a19b8 commit 289de2aCopy full SHA for 289de2a
api_integration.tf
@@ -3,7 +3,7 @@ resource "snowflake_api_integration" "geff_api_integration" {
3
4
name = "${upper(replace(var.prefix, "-", "_"))}_API_INTEGRATION"
5
enabled = true
6
- api_provider = "aws_api_gateway"
+ api_provider = length(regexall(".*gov.*", local.aws_region)) > 0 ? "AWS_GOV_API_GATEWAY" : "AWS_API_GATEWAY"
7
api_allowed_prefixes = [local.inferred_api_gw_invoke_url]
8
api_aws_role_arn = "arn:${var.arn_format}:iam::${local.account_id}:role/${local.api_gw_caller_role_name}"
9
}
0 commit comments