Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions internal/service/core/core_volume_attachments_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ func (s *CoreVolumeAttachmentsDataSourceCrud) SetData() error {
result["is_read_only"] = bool(*v.IsReadOnly)
}

if v.IsShareable != nil {
result["is_shareable"] = bool(*v.IsShareable)
}

if v.IsVolumeCreatedDuringLaunch != nil {
result["is_volume_created_during_launch"] = bool(*v.IsVolumeCreatedDuringLaunch)
}
Expand Down Expand Up @@ -244,6 +248,10 @@ func (s *CoreVolumeAttachmentsDataSourceCrud) SetData() error {
result["is_read_only"] = bool(*v.IsReadOnly)
}

if v.IsShareable != nil {
result["is_shareable"] = bool(*v.IsShareable)
}

if v.IsVolumeCreatedDuringLaunch != nil {
result["is_volume_created_during_launch"] = bool(*v.IsVolumeCreatedDuringLaunch)
}
Expand Down Expand Up @@ -298,6 +306,10 @@ func (s *CoreVolumeAttachmentsDataSourceCrud) SetData() error {
result["is_read_only"] = bool(*v.IsReadOnly)
}

if v.IsShareable != nil {
result["is_shareable"] = bool(*v.IsShareable)
}

if v.IsVolumeCreatedDuringLaunch != nil {
result["is_volume_created_during_launch"] = bool(*v.IsVolumeCreatedDuringLaunch)
}
Expand Down
1 change: 1 addition & 0 deletions website/docs/d/core_volume_attachments.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ The following attributes are exported:
* `is_multipath` - Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
* `is_pv_encryption_in_transit_enabled` - Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
* `is_read_only` - Whether the attachment was created in read-only mode.
* `is_shareable` - Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
* `is_volume_created_during_launch` - Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
* `iscsi_login_state` - The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
* `multipath_devices` - A list of secondary multipath devices
Expand Down