Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我所知,重新启动使用 Scalar Terraform 创建的堡垒服务器将更改全局 IP 地址。在 Bastion 的全局 IP 地址更改后,我是否需要对 Scalar Terraform 执行任何操作?如果我需要做某事,你能告诉我该怎么做吗?
谢谢你的问题。
你需要做两件事。
tfstate
$ terraform refresh -var-file=example.tfvars ### Or $ terraform apply -var-file=example.tfvars
ssh.cfg
$ terraform output ssh_config > ssh.cfg