Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tencentcloud_cbs_storage_attachment 支持挂载存储后指定挂载路径及格式化文件系统 #2558

Open
greatbody opened this issue Mar 8, 2024 · 0 comments

Comments

@greatbody
Copy link

当前状态:使用tencentcloud_cbs_storage_attachment挂载后,可以通过

sudo lsblk -o "NAME,KNAME,SIZE,TYPE,UUID"

查看到挂载的硬盘,但是硬盘没有格式化和挂载到一个路径。例如自动格式化成 ext4 文件系统,挂载到 /mnt/storage1

期待支持如下的配置

resource "tencentcloud_cbs_storage_attachment" "attachment" {
  storage_id  = tencentcloud_cbs_storage.storage.id
  instance_id = tencentcloud_instance.typhoon_instance.id
  filesystem = "ext4"
  mount_dir = "/mnt/storage1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant