Skip to content

Commit f54ac4e

Browse files
committed
update readme, prepare for 5.0.0
1 parent 018f03d commit f54ac4e

File tree

3 files changed

+65
-7
lines changed

3 files changed

+65
-7
lines changed

CHANGELOG-v4.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Changelog
2+
3+
## [4.2.0](https://github.com/Azure/terraform-azurerm-compute/tree/4.2.0) (2022-12-22)
4+
5+
**Merged pull requests:**
6+
7+
- Changed var.location default value from "" to null [\#214](https://github.com/Azure/terraform-azurerm-compute/pull/214) ([juanjojulian](https://github.com/juanjojulian))
8+
- Bump tflint plugin version, add new checking rule [\#213](https://github.com/Azure/terraform-azurerm-compute/pull/213) ([lonegunmanb](https://github.com/lonegunmanb))
9+
- Upgrade `terraform-module-test-helper` lib so we can get rid of override file to execute version upgrade test [\#212](https://github.com/Azure/terraform-azurerm-compute/pull/212) ([lonegunmanb](https://github.com/lonegunmanb))
10+
11+
## [4.1.0](https://github.com/Azure/terraform-azurerm-compute/tree/4.1.0) (2022-11-29)
12+
13+
**Merged pull requests:**
14+
15+
- Add support for `azurerm_virtual_machine_extension` resource. [\#210](https://github.com/Azure/terraform-azurerm-compute/pull/210) ([lonegunmanb](https://github.com/lonegunmanb))
16+
- Add support for `plan` block [\#209](https://github.com/Azure/terraform-azurerm-compute/pull/209) ([lonegunmanb](https://github.com/lonegunmanb))
17+
- Support boot diagnostics storage injection [\#208](https://github.com/Azure/terraform-azurerm-compute/pull/208) ([lonegunmanb](https://github.com/lonegunmanb))
18+
- Add support for network security group injection [\#205](https://github.com/Azure/terraform-azurerm-compute/pull/205) ([lonegunmanb](https://github.com/lonegunmanb))
19+
- Solve \#107 by adding `create_before_destroy = true` to defer public ip's deletion. [\#203](https://github.com/Azure/terraform-azurerm-compute/pull/203) ([lonegunmanb](https://github.com/lonegunmanb))
20+
- Output vm names [\#202](https://github.com/Azure/terraform-azurerm-compute/pull/202) ([lonegunmanb](https://github.com/lonegunmanb))
21+
- Make `azurerm_availability_set`'s `platform_fault_domain_count` and `platform_update_domain_count` configurable [\#201](https://github.com/Azure/terraform-azurerm-compute/pull/201) ([lonegunmanb](https://github.com/lonegunmanb))
22+
- Fix the bug introduced by \#189 by adding `var.storage_os_disk_size_gb` back. [\#200](https://github.com/Azure/terraform-azurerm-compute/pull/200) ([lonegunmanb](https://github.com/lonegunmanb))
23+
- Add support for `azurerm_virtual_machine.zones` [\#199](https://github.com/Azure/terraform-azurerm-compute/pull/199) ([lonegunmanb](https://github.com/lonegunmanb))
24+
- Convert legacy splat syntax into bracket syntax [\#198](https://github.com/Azure/terraform-azurerm-compute/pull/198) ([lonegunmanb](https://github.com/lonegunmanb))
25+
- Replacing location and resource\_group\_name with local variables [\#196](https://github.com/Azure/terraform-azurerm-compute/pull/196) ([jiaweitao001](https://github.com/jiaweitao001))
26+
- Removing depends\_on in examples code [\#195](https://github.com/Azure/terraform-azurerm-compute/pull/195) ([jiaweitao001](https://github.com/jiaweitao001))
27+
- Add override template file so we can run version upgrade test [\#194](https://github.com/Azure/terraform-azurerm-compute/pull/194) ([lonegunmanb](https://github.com/lonegunmanb))
28+
- Rename some resources to snake case. [\#193](https://github.com/Azure/terraform-azurerm-compute/pull/193) ([lonegunmanb](https://github.com/lonegunmanb))
29+
- Refactor code to meet tflint's requirements [\#189](https://github.com/Azure/terraform-azurerm-compute/pull/189) ([lonegunmanb](https://github.com/lonegunmanb))
30+
- Allow custom OS disk size [\#183](https://github.com/Azure/terraform-azurerm-compute/pull/183) ([yatzek](https://github.com/yatzek))
31+
32+
## [4.0.0](https://github.com/Azure/terraform-azurerm-compute/tree/4.0.0) (2022-11-15)
33+
34+
**Merged pull requests:**
35+
36+
- Add CI pipeline [\#185](https://github.com/Azure/terraform-azurerm-compute/pull/185) ([jiaweitao001](https://github.com/jiaweitao001))
37+
- Adding Microsoft SECURITY.MD [\#181](https://github.com/Azure/terraform-azurerm-compute/pull/181) ([microsoft-github-policy-service[bot]](https://github.com/apps/microsoft-github-policy-service))
38+
39+
40+
41+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
# Changelog
2-
3-
4-
5-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,34 @@
11
# terraform-azurerm-compute
22

3-
## Notice on Upgrade to V4.x
3+
## Notice on Upgrade to v5.x
4+
5+
As [#218](https://github.com/Azure/terraform-azurerm-compute/pull/218) described, the `plan` block introduced by [#209](https://github.com/Azure/terraform-azurerm-compute/pull/209) was incorrect so we must adjust the assignments' order, which is a breaking change. The change we've made to vm's `plan` block is:
6+
7+
```hcl
8+
dynamic "plan" {
9+
for_each = var.is_marketplace_image ? ["plan"] : []
10+
11+
content {
12+
- name = var.vm_os_offer
13+
- product = var.vm_os_sku
14+
+ name = var.vm_os_sku
15+
+ product = var.vm_os_offer
16+
publisher = var.vm_os_publisher
17+
}
18+
}
19+
```
20+
21+
Now `vm_os_sku` would be used as `plan.name` and `vm_os_offer` would be used as `plan.product`.
22+
23+
v5.0.0 is a major version upgrade. Extreme caution must be taken during the upgrade to avoid resource replacement and downtime by accident.
24+
25+
## Notice on Upgrade to v4.x
426

527
We've added a CI pipeline for this module to speed up our code review and to enforce a high code quality standard, if you want to contribute by submitting a pull request, please read [Pre-Commit & Pr-Check & Test](#Pre-Commit--Pr-Check--Test) section, or your pull request might be rejected by CI pipeline.
628

729
A pull request will be reviewed when it has passed Pre Pull Request Check in the pipeline, and will be merged when it has passed the acceptance tests. Once the ci Pipeline failed, please read the pipeline's output, thanks for your cooperation.
830

9-
V4.0.0 is a major version upgrade. Extreme caution must be taken during the upgrade to avoid resource replacement and downtime by accident.
31+
v4.0.0 is a major version upgrade. Extreme caution must be taken during the upgrade to avoid resource replacement and downtime by accident.
1032

1133
Running the `terraform plan` first to inspect the plan is strongly advised.
1234

0 commit comments

Comments
 (0)