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

[FEAT] Support device encryption in the terraform-alicloud-autoscaling module. #7398

Open
Auditore8 opened this issue Jun 27, 2024 · 0 comments

Comments

@Auditore8
Copy link

Auditore8 commented Jun 27, 2024

Description

When using the Alicloud Terraform provider to manage resources on the Alibaba Cloud platform, I noticed that the encryption feature for data disks is supported natively in the provider. However, the existing Terraform module for autoscaling module does not include attributes to enable data disk encryption. This poses a challenge for users who want to ensure the security of their data by the data disks attached to their autoscaling instances. Therefore, I have raised this issue to inquire about the possibility of adding data disk encryption support to the autoscaling module.

Category

AliCloud

Aspect

Auto Scaling
Data Disk Encryption

Details

Device encryption and device name are not supported in module terraform-alicloud-autoscaling.
image

Terraform Version

1.3.9

Affected Resource(s)

alicloud_ess_scaling_configuration

Terraform Configuration Files

resource "alicloud_ess_scaling_configuration" "default" {
  scaling_group_id  = alicloud_ess_scaling_group.default.id
  image_id          = data.alicloud_images.default.images[0].id
  instance_type     = data.alicloud_instance_types.default.instance_types[0].id
  security_group_id = alicloud_security_group.default.id
  force_delete      = true
  active            = true

  data_disk {
    size = 100
    category = "cloud_efficiency"
    encrypted = true
  }

  system_disk {
    category = "cloud_ssd"
    size = 40
  }
}

Debug Output

N/A

Panic Output

N/A

Expected Behavior

The Terraform module should support encryption for data disks.

Actual Behavior

Not support in the module terraform-alicloud-autoscaling at present.

Steps to Reproduce

N/A

References

alicloud_ess_scaling_configuration
terraform-alicloud-autoscaling

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

No branches or pull requests

1 participant