大佬教程收集整理的这篇文章主要介绍了terraform 创建全局 rds 实例将不起作用,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
resource "aws_rds_global_cluster" "example" {
global_cluster_IDentifIEr = "global-test"
database_name = "example"
ENGIne = "aurora-POSTGResql"
ENGIne_version = "12.6"
}
resource "aws_rds_cluster" "priMary" {
# provIDer = aws.priMary
count = "${local.resourceCount == "2" ? "1" : "0"}"
IDentifIEr = "kepler-example-global-cluster-${lookup(var.kepler-env-name,var.env)}-${Count.index}"
database_name = "example"
ENGIne = "aurora-POSTGResql"
ENGIne_version = "12.6"
vpc_security_group_IDs = ["${var.rds_security_group_survey_ID}"]
# cluster_IDentifIEr = aws_rds_global_cluster.example_global_cluster.ID
master_username = "root"
master_password = "somepass123"
# master_password = var.credential
global_cluster_IDentifIEr = aws_rds_global_cluster.example.ID
db_subnet_group_name = var.db_subnet_group_ID
}
@H_874_2@目前我收到此错误,
Error: Error loading modules: module openworld: Error parsing .@R_403_3808@/modules/d375d2d1997599063f4fb9e7587fec26/main.tf: At 63:31: UnkNown token: 63:31 IDENT aws_rds_global_cluster.example.ID
@H_874_2@我很困惑为什么会出现这个错误
以上是大佬教程为你收集整理的terraform 创建全局 rds 实例将不起作用全部内容,希望文章能够帮你解决terraform 创建全局 rds 实例将不起作用所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。