在将terraform和aws提供程序的版本从较低的版本更改为更高的版本后,此db资源将执行create replacement and then destroy。即使db实例也不会被销毁和重新创建,但是它的相关选项组和参数组将被更新。它会不会给AWS中运行的DB服务带来一些问题?+ create+/- create replacement and then destroy
Terraform will perform the following例如重新启动db实例
resource_share_arn = aws_ram_resource_share.share_subnets_with_dev_account.arn
但是当我做一个新的terrafrom apply时,我会得到错误set includes values derived from resource attributes that cannot be determined until apply, and so Terraform如果我做了一个tf destroy并重新创建了所有东西,那么我就会再次得到错误╷
│
plan -1资源将被创建First terraform apply -1资源创建的第二terraform plan (不更改配置文件)- Objects have changed outside ofTerraform (见 terraform apply - Objects have changed outside of Terraform,0 added/changed/detroyedThirdterraform plan (未更改<
我正在尝试创建对实例的目标组附件。例如,如果有3个目标组和2个实例,则希望在这2个实例中附加3个目标组。这是我的密码resource "aws_instance" "web_servers" { instance_typeapply│ The "for_each" value depends on resource attributes th