【发布时间】:2021-10-13 06:16:22
【问题描述】:
我正在尝试将 Lambda 授权方与 AppSync module 一起用于 Terraform。
这是我目前的地形
module "appsync" {
source = "terraform-aws-modules/appsync/aws"
name = "api-appsync-${var.region}-${var.stage_name}"
schema = file("modules/appsync/schema.graphql")
api_keys = {
default = null # such key will expire in 7 days
}
additional_authentication_provider = {
iam = {
authentication_type = "AWS_IAM"
}
}
...
}
我的 lambda 授权器正在工作,但目前必须在每次部署后手动更新 AppSync 设置。
【问题讨论】:
标签: amazon-web-services terraform terraform-provider-aws aws-appsync