-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: This module now includes a boolean variable, `use_boot_volume_k…
…ey_as_default`, which determines the default encryption key used for volumes. If `use_boot_volume_key_as_default` is set to true, the boot volume key (`boot_volume_encryption_key`) will be used as the default. Otherwise, if `kms_encryption_enabled` is true, the specified `volume.encryption_key` will be used.<br>**UPGRADE NOTES:**- In previous versions, there was a possibility that your volume was encrypted with the boot volume key instead of the provided volume.encryption_key.<br>To avoid any unintentional destruction of volumes during upgrade, it is recommended to set `use_boot_volume_key_as_default` to true. Alternatively set it to false if you don't mind infrastructure being recreated. (#721)
- Loading branch information
1 parent
a3f1546
commit 3cb1b37
Showing
7 changed files
with
44 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
module "fscloud_vsi" { | ||
source = "../../" | ||
resource_group_id = var.resource_group_id | ||
prefix = var.prefix | ||
tags = var.tags | ||
vpc_id = var.vpc_id | ||
subnets = var.subnets | ||
image_id = var.image_id | ||
ssh_key_ids = var.ssh_key_ids | ||
machine_type = var.machine_type | ||
vsi_per_subnet = var.vsi_per_subnet | ||
user_data = var.user_data | ||
existing_kms_instance_guid = var.existing_kms_instance_guid | ||
skip_iam_authorization_policy = var.skip_iam_authorization_policy | ||
boot_volume_encryption_key = var.boot_volume_encryption_key | ||
kms_encryption_enabled = true | ||
manage_reserved_ips = var.manage_reserved_ips | ||
use_static_boot_volume_name = var.use_static_boot_volume_name | ||
enable_floating_ip = var.enable_floating_ip | ||
allow_ip_spoofing = var.allow_ip_spoofing | ||
create_security_group = var.create_security_group | ||
security_group = var.security_group | ||
security_group_ids = var.security_group_ids | ||
block_storage_volumes = var.block_storage_volumes | ||
load_balancers = var.load_balancers | ||
access_tags = var.access_tags | ||
snapshot_consistency_group_id = var.snapshot_consistency_group_id | ||
boot_volume_snapshot_id = var.boot_volume_snapshot_id | ||
source = "../../" | ||
resource_group_id = var.resource_group_id | ||
prefix = var.prefix | ||
tags = var.tags | ||
vpc_id = var.vpc_id | ||
subnets = var.subnets | ||
image_id = var.image_id | ||
ssh_key_ids = var.ssh_key_ids | ||
machine_type = var.machine_type | ||
vsi_per_subnet = var.vsi_per_subnet | ||
user_data = var.user_data | ||
existing_kms_instance_guid = var.existing_kms_instance_guid | ||
skip_iam_authorization_policy = var.skip_iam_authorization_policy | ||
boot_volume_encryption_key = var.boot_volume_encryption_key | ||
use_boot_volume_key_as_default = var.use_boot_volume_key_as_default | ||
kms_encryption_enabled = true | ||
manage_reserved_ips = var.manage_reserved_ips | ||
use_static_boot_volume_name = var.use_static_boot_volume_name | ||
enable_floating_ip = var.enable_floating_ip | ||
allow_ip_spoofing = var.allow_ip_spoofing | ||
create_security_group = var.create_security_group | ||
security_group = var.security_group | ||
security_group_ids = var.security_group_ids | ||
block_storage_volumes = var.block_storage_volumes | ||
load_balancers = var.load_balancers | ||
access_tags = var.access_tags | ||
snapshot_consistency_group_id = var.snapshot_consistency_group_id | ||
boot_volume_snapshot_id = var.boot_volume_snapshot_id | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters