output "db_main_password" { value = aws_db_instance.main.password sensitive = true }
Error installing provider "aws": openpgp: signature made by unknown entity.
tfenv install latest:^0.11 # 0.11.15ならOK # 問題のあったバージョンは削除 tfenv uninstall 0.11.15-oci
Warning: registry.terraform.io: This version of Terraform has an outdated GPG key and is unable to verify new provider releases. Please upgrade Terraform to at least 0.12.31 to receive new provider updates. For details see: https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512
rm -rf .terraform tfenv install latest:^0.12 terraform init
Error: Incorrect attribute value type Inappropriate value for attribute "var1": string required.
output "debug_var1" { value = local.var1 }
terraform refresh
var1 = flatten([local.a1, local.b2])