Terraform 地形不';无法识别oidc类型
我正在尝试在AWS with terraform中创建一个应用程序负载平衡器ALB,其中包含身份验证规则,但terraform无法识别“authenticate oidc”类型 我尝试了不同的代码组合,甚至使用Terraform v0.11.15-oci,但问题相同 当前地形版本0.11.14Terraform 地形不';无法识别oidc类型,terraform,terraform-provider-aws,Terraform,Terraform Provider Aws,我正在尝试在AWS with terraform中创建一个应用程序负载平衡器ALB,其中包含身份验证规则,但terraform无法识别“authenticate oidc”类型 我尝试了不同的代码组合,甚至使用Terraform v0.11.15-oci,但问题相同 当前地形版本0.11.14 resource "aws_alb_listener" "control_center" { load_balancer_arn = "${aws_alb.control_center.id}
resource "aws_alb_listener" "control_center" {
load_balancer_arn = "${aws_alb.control_center.id}"
port = 443
protocol = "HTTPS"
ssl_policy = "ELBSecurityPolicy-2016-08"
certificate_arn = "${aws_acm_certificate.mymessagng.arn}"
default_action {
type = "authenticate-oidc"
authenticate_oidc {
authorization_endpoint = ""
client_id = ""
client_secret = ""
issuer = ""
token_endpoint = ""
user_info_endpoint = ""
}
}
我刚刚意识到我的地形提供者是
- terraform-provider-aws_v1.27.0_x4
- terraform-provider-template_v1.0.0_x4
Error: module.control-center.aws_alb_listener.control_center: "default_action.0.target_group_arn": required field is not set
Error: module.control-center.aws_alb_listener.control_center: default_action.0: invalid or unknown key: authenticate_oidc
Error: module.control-center.aws_alb_listener.control_center: expected default_action.0.type to be one of [forward], got authenticate-oidc