Skip to content

Commit 3cddd05

Browse files
kilokahnRavi Tandon
authored andcommitted
Downgrade bootVolumes to 0.2.180
Need to revert this when the service team is ready
1 parent 48ec966 commit 3cddd05

File tree

7 files changed

+88
-526
lines changed

7 files changed

+88
-526
lines changed

CHANGELOG.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
77

88
### Added
99
- Support for efficient large file upload using the `source` path to the file
10-
- Support for tagging on Database Resource. See [Tagging Resources](https://github.com/oracle/terraform-provider-oci/blob/master/docs/Tagging%20Resources.md)
11-
12-
## 2.2.1 - 2018-08-16
13-
14-
### Added
15-
- Support boot volume backup and clones
16-
- Support scheduled backup policy on boot volume creation
10+
- Support boot volume backup
1711

1812
## 2.2.0 - 2018-08-09
1913

@@ -56,13 +50,13 @@ _This build contains a known issue where updates to a Route Table's Route Rules
5650
- Adding Service Gateway resource and data source, update Route Table and Security List
5751
- Add Audit service configuration resource
5852
- Support Identity Federation
59-
53+
6054
### Changed
6155
- Users may notice larger diffs for Security List's `ingress_security_rules`, `egress_security_rules` and Route Table's `route_rules`. The internal representation has been changed from Lists to Sets, which results in unexpected but innocuous Terraform behavior. See this issue for discussion: https://github.com/hashicorp/terraform/issues/15180
6256
- Default timeout changed from 5 minutes to 15 minutes to accommodate some resources that may take longer to succeed
6357
- Ability to update compartment of an Object Storage Bucket
6458
- Updated Database data source to support tags
65-
59+
6660
### Fixed
6761
- Delete behavior fixed on Load Balancer resources for failed work requests
6862

@@ -134,7 +128,7 @@ _This build contains a known issue where updates to a Route Table's Route Rules
134128
## 2.1.7 - 2018-05-03
135129

136130
### Added
137-
- Added support for virtual host names for Load balancer listeners. See [listeners](https://github.com/oracle/terraform-provider-oci/blob/master/docs/load_balancer/listeners.md), [hostnames](https://github.com/oracle/terraform-provider-oci/blob/master/docs/load_balancer/hostnames.md) for more details.
131+
- Added support for virtual host names for Load balancer listeners. See [listeners](https://github.com/oracle/terraform-provider-oci/blob/master/docs/load_balancer/listeners.md), [hostnames](https://github.com/oracle/terraform-provider-oci/blob/master/docs/load_balancer/hostnames.md) for more details.
138132

139133
## 2.1.6 - 2018-04-26
140134

@@ -153,10 +147,10 @@ _This build contains a known issue where updates to a Route Table's Route Rules
153147
- Volume backups can specify whether a full or incremental backup type should be created
154148
- Filters support all Terraform primitives (string, bool, int, float)
155149
- Imports for Load Balancer resource are now enabled
156-
150+
157151
### Fixed
158152
- Fixed policy version_date bug (#508)
159-
153+
160154
## 2.1.5 - 2018-04-12
161155

162156
### Added
@@ -167,7 +161,7 @@ _This build contains a known issue where updates to a Route Table's Route Rules
167161
- Added support for Local VCN Peering. More details can be found [here](https://github.com/oracle/terraform-provider-oci/blob/master/docs/core/local_peering_gateways.md).
168162
- DNS service integration: adds Zone and Record resources, datasources, documentation and basic examples. More details can be found [here](https://github.com/oracle/terraform-provider-oci/tree/master/docs/dns).
169163

170-
### Deprecated
164+
### Deprecated
171165
- Instances: The “image” attribute is now deprecated. Please use the “source_details” with “source_type” set to “image” instead.
172166

173167
## 2.1.4 - 2018-04-09
@@ -223,7 +217,7 @@ More details for the changes introduced in 2.1.0 can be found [here](https://git
223217

224218
### Notes
225219
- With this release we started using the new official [OCI Go SDK](https://github.com/oracle/oci-go-sdk). Widespread changes to the source code were needed to make this happen.
226-
- Removing optional parameters from a created resource will not result in a difference and the value for that field will remain as it was. If you want to reset the field to the default value returned by the service for that field you will have to taint the resource to destroy it and recreate it.
220+
- Removing optional parameters from a created resource will not result in a difference and the value for that field will remain as it was. If you want to reset the field to the default value returned by the service for that field you will have to taint the resource to destroy it and recreate it.
227221
- If upgrading the OCI provider from v1.x.x, see [this wiki](https://github.com/oracle/terraform-provider-oci/wiki/Oracle-Terraform-Provider-Name-Change) for migration steps.
228222
- See docs for this version [here](https://github.com/oracle/terraform-provider-oci/tree/v2.1.0).
229223

docs/core/boot_volumes.md

Lines changed: 17 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,4 @@
1-
# oci_core_boot_volume
21

3-
## BootVolume Resource
4-
5-
### BootVolume Reference
6-
7-
The following attributes are exported:
8-
9-
* `availability_domain` - The Availability Domain of the boot volume. Example: `Uocm:PHX-AD-1`
10-
* `compartment_id` - The OCID of the compartment that contains the boot volume.
11-
* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
12-
* `display_name` - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
13-
* `freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
14-
* `id` - The boot volume's Oracle ID (OCID).
15-
* `image_id` - The image OCID used to create the boot volume.
16-
* `is_hydrated` - Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
17-
* `size_in_gbs` - The size of the boot volume in GBs.
18-
* `size_in_mbs` - The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use `size_in_gbs`.
19-
* `source_details` - The boot volume source, either an existing boot volume in the same Availability Domain or a boot volume backup. If null, this means that the boot volume was created from an image.
20-
* `id` - The OCID of the boot volume backup or the boot volume
21-
* `type` - The type of the boot volume source. Supported values are `bootVolumeBackup` and `bootVolume`
22-
* `state` - The current state of a boot volume.
23-
* `time_created` - The date and time the boot volume was created. Format defined by RFC3339.
24-
* `volume_group_id` - The OCID of the source volume group.
25-
26-
27-
28-
### Create Operation
29-
Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup.
30-
For general information about boot volumes, see [Boot Volumes](https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Concepts/bootvolumes.htm).
31-
You may optionally specify a *display name* for the volume, which is simply a friendly name or
32-
description. It does not have to be unique, and you can change it. Avoid entering confidential information.
33-
34-
35-
The following arguments are supported:
36-
37-
* `availability_domain` - (Required) The Availability Domain of the boot volume. Example: `Uocm:PHX-AD-1`
38-
* `backup_policy_id` - (Optional) If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned.
39-
* `compartment_id` - (Required) The OCID of the compartment that contains the boot volume.
40-
* `defined_tags` - (Optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
41-
* `display_name` - (Optional) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
42-
* `freeform_tags` - (Optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
43-
* `source_details` - (Required) Specifies the boot volume source details for a new boot volume. The volume source is either another boot volume in the same Availability Domain or a boot volume backup. This is a mandatory field for a boot volume.
44-
* `id` - (Required) The OCID of the boot volume backup or the boot volume
45-
* `type` - (Required) The type of the boot volume source. Supported values are `bootVolumeBackup` and `bootVolume`
46-
47-
48-
### Update Operation
49-
Updates the specified boot volume's display name.
50-
51-
The following arguments support updates:
52-
* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
53-
* `display_name` - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
54-
* `freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
55-
56-
57-
** IMPORTANT **
58-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
59-
60-
### Example Usage
61-
62-
```hcl
63-
resource "oci_core_boot_volume" "test_boot_volume" {
64-
#Required
65-
availability_domain = "${var.boot_volume_availability_domain}"
66-
compartment_id = "${var.compartment_id}"
67-
source_details {
68-
#Required
69-
id = "${var.boot_volume_source_details_id}"
70-
type = "${var.boot_volume_source_details_type}"
71-
}
72-
73-
#Optional
74-
backup_policy_id = "${oci_core_backup_policy.test_backup_policy.id}"
75-
defined_tags = {"Operations.CostCenter"= "42"}
76-
display_name = "${var.boot_volume_display_name}"
77-
freeform_tags = {"Department"= "Finance"}
78-
}
79-
```
80-
81-
82-
## BootVolume Singular DataSource
83-
84-
85-
### Get Operation
86-
Gets information for the specified boot volume.
87-
88-
The following arguments are supported:
89-
90-
* `boot_volume_id` - (Required) The OCID of the boot volume.
91-
92-
93-
### Example Usage
94-
95-
```hcl
96-
data "oci_core_boot_volume" "test_boot_volume" {
97-
#Required
98-
boot_volume_id = "${var.boot_volume_boot_volume_id}"
99-
}
100-
```
1012
# oci_core_boot_volumes
1023

1034
## BootVolume DataSource
@@ -129,4 +30,20 @@ data "oci_core_boot_volumes" "test_boot_volumes" {
12930
#Optional
13031
volume_group_id = "${oci_core_volume_group.test_volume_group.id}"
13132
}
132-
```
33+
```
34+
### BootVolume Reference
35+
36+
The following attributes are exported:
37+
38+
* `availability_domain` - The Availability Domain of the boot volume. Example: `Uocm:PHX-AD-1`
39+
* `compartment_id` - The OCID of the compartment that contains the boot volume.
40+
* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
41+
* `display_name` - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
42+
* `freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
43+
* `id` - The boot volume's Oracle ID (OCID).
44+
* `image_id` - The image OCID used to create the boot volume.
45+
* `size_in_gbs` - The size of the boot volume in GBs.
46+
* `size_in_mbs` - The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use `size_in_gbs`.
47+
* `state` - The current state of a boot volume.
48+
* `time_created` - The date and time the boot volume was created. Format defined by RFC3339.
49+
* `volume_group_id` - The OCID of the source volume group.

docs/examples/storage/block/boot_volume/boot_volume.tf

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)