Skip to content

Commit 1201f86

Browse files
Merge pull request #19 from prashantkalkar/preparing_for_release
Update change log for v0.5.0 version release.
2 parents 8607b76 + ff701e0 commit 1201f86

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## Unreleased
1+
## v0.5.0
2+
23
Upgrade notes:
3-
* node_files argument added: Due to possible terraform `sensitive` issues, the files that are to be uploaded to a node will need to be specified separately.
4+
* node_files argument added: Terraform plan was failing when sensitive files are used for node uploads. This was happening due to node usage in the for_each attribute. Terraform plan fails if sensitive data is used for either keys or values for `for_each` property (see [issue#16](https://github.com/prashantkalkar/stateful_application_module/issues/16)).
45
For existing code change as follows:
56
```terraform
67
nodes = [{
@@ -22,10 +23,9 @@ Upgrade notes:
2223
node_files_toupload = []
2324
}]
2425
```
25-
Note, the node_id can be any string but if you want to retain the node names use the 2 digit node_id (eg. 00, 01, 05, 10 etc) during the upgrades.
2626
2727
Breaking Changes:
28-
* added node_files argument by @ganesh-arkalgud in [#17](https://github.com/prashantkalkar/stateful_application_module/pull/17)
28+
* added node_files argument: Terraform plan was failing when sensitive files are used for node uploads. This was happening due to node usage in the for_each attribute. Terraform plan fails if sensitive data is used for either keys or values for `for_each` property (see [issue#16](https://github.com/prashantkalkar/stateful_application_module/issues/16)) by @ganesh-arkalgud in [#17](https://github.com/prashantkalkar/stateful_application_module/pull/17)
2929
3030
## v0.4.0
3131

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "cluster_nodes" {
1313
node_ip = each.value.node_ip
1414
node_key_name = var.node_key_name
1515
node_subnet_id = each.value.node_subnet_id
16-
node_files_toupload = lookup(local.node_id_to_node_files_map, each.key).node_files_toupload
16+
node_files_toupload = local.node_id_to_node_files_map[each.key].node_files_toupload
1717
node_config_script = var.node_config_script
1818
security_groups = var.security_groups
1919
node_image = each.value.node_image != null ? each.value.node_image : var.node_image

0 commit comments

Comments
 (0)