Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oehrlis committed Nov 30, 2023
1 parent 6629a6e commit 889411e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

## [3.0.14] - 2023-11-30

### Fixed

- Fix the fix volume attach issue when vm is not created

## [3.0.13] - 2023-11-30

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions volumes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ resource "oci_core_volume" "CreateVolume" {
resource "oci_core_volume_attachment" "CreateVolumeAttachment" {
count = var.host_volume_enabled == true ? var.numberOf_labs : 0
attachment_type = var.host_volume_attachment_type
instance_id = length(oci_core_instance.compute) > 0 ? oci_core_instance.compute[count.index].id : ""
volume_id = length(oci_core_volume.CreateVolume) > 0 ? oci_core_volume.CreateVolume[count.index].id : ""
instance_id = oci_core_instance.compute[count.index].id
volume_id = oci_core_volume.CreateVolume[count.index].id
}

# --- EOF ----------------------------------------------------------------------

0 comments on commit 889411e

Please sign in to comment.