Skip to content

Commit 7e63ec5

Browse files
authored
Add regional subnets support (#46)
add Terraform and Provider minimum versions (> 0.12) change Block Volume default attachment type from iSCSI to paravirtualized remove boot volume custom default value in the module Documentation enhancement: Requirements, Providers, Inputs and Outputs tables in README are now autogenerated update README sample code for Terraform 0.12 syntax add description and type to module inputs Issue: #41
1 parent 4dbd711 commit 7e63ec5

File tree

9 files changed

+311
-161
lines changed

9 files changed

+311
-161
lines changed

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
.terraform
22
terraform.tfstate
33
*.tfstate*
4+
*.lock
45
terraform.tfvars
6+
*.auto.tfvars
57
.DS_Store
6-
.idea
8+
.idea
9+
.vscode
10+
11+
tests
12+
13+
14+

CHANGELOG.md

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,71 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and the versioning follows the [Semantic Versioning 2.0.0](https://semver.org/) specification.
6+
7+
Given a version number MAJOR.MINOR.PATCH:
8+
9+
- MAJOR version when making incompatible API changes,
10+
- MINOR version when adding functionality in a backwards compatible manner,
11+
- PATCH version when making backwards compatible bug fixes.
12+
13+
## [UNRELEASED]
14+
15+
### Changed
16+
17+
- Terraform block now defines minimum terraform version and required providers. Block Moved to main.tf
18+
- block volumes attachment type is now paravirtualized by default
19+
- boot volume size default value is now passed by the service
20+
- README content is automatically generated for the following sections: Requirements, Providers, Inputs, Outputs
21+
22+
### Fixed
23+
24+
Issue #41 - When regional subnets are used, the instance fails to detect the availability domain
25+
26+
- Instance Domain selection do not rely on vnic AD anymore: use Data Source + a list local
27+
- add var.ad_number, data.oci_identity_availability_domains.ad, local.ADs
28+
29+
Documentation enhancement:
30+
31+
- CHANGELOG format
32+
- Sample code in the main README is now compliant with Terraform 0.12 syntax
33+
- Missing description, type or default value for variables module inputs
34+
135
## 2.0.3 - 2021-01-31
236

337
### Changed
438

5-
* Upgrade to HCL2, for compatibility with Terraform 0.12 or higher
6-
* Cleanup copyright notice statements in source files
39+
- Upgrade to HCL2, for compatibility with Terraform 0.12 or higher
40+
- Cleanup copyright notice statements in source files
741

842
## 2.0.2 - 2021-01-22
943

1044
### Added
1145

12-
* CONTRIBUTING.md - contributor's guide
46+
- CONTRIBUTING.md - contributor's guide
1347

1448
### Changed
1549

16-
* Add link to CONTRIBUTING.md in README.md
17-
* Bump copyright year to 2021 in README.md
18-
50+
- Add link to CONTRIBUTING.md in README.md
51+
- Bump copyright year to 2021 in README.md
1952

2053
## 2.0.1 - 2019-05-08
2154

2255
### Changed
2356

24-
* v0.12 preparation: Fix metadata usage to be canonical
25-
57+
- v0.12 preparation: Fix metadata usage to be canonical
2658

2759
## 2.0.0 - 2018-12-04
2860

2961
### Changed
3062

3163
- Updated Hostname label for multiple compute instances
3264
- Updated Volume display name
33-
- Changes variable assign_public_ip default from true to false
65+
- Changes variable assign_public_ip default from true to false
3466

3567
### Added
3668

37-
* Support for multiple subnets
38-
* Support for paravirtualized attachments
39-
* Support for private IP list
69+
- Support for multiple subnets
70+
- Support for paravirtualized attachments
71+
- Support for private IP list

LICENSE.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Apache License
2727

2828
Version 2.0, January 2004
2929

30-
http://www.apache.org/licenses/
30+
http://www.apache.org/licenses/
3131
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3232
1. Definitions.
3333
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
@@ -46,9 +46,9 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4646
You must give any other recipients of the Work or Derivative Works a copy of this License; and
4747
You must cause any modified files to carry prominent notices stating that You changed the files; and
4848
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
49-
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
49+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
5050

51-
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
51+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5252
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
5353
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
5454
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

0 commit comments

Comments
 (0)