Skip to content

Commit 5bb13b4

Browse files
committed
Add note on provisioning
Signed-off-by: Andy Lo-A-Foe <andy.loafoe@gmail.com>
1 parent d391540 commit 5bb13b4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
## v0.14.5
7+
- Increase `volume_size` to 16000 (16T) for `hsdp_container_host` resources
8+
- Bugfix: clean up container host instance in case of failed commands
9+
- Documentation fixes
10+
611
## v0.14.4
712
- [NEW] `cron` support for `hsdp_function.schedule` configuration
813
- [NEW] `timeout` support `for hsdp_function.schedule` configuration

docs/resources/container_host.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ The following arguments are supported:
9696
* `user` - (Optional) The username to use for provision activities using SSH
9797
* `private_key` - (Optional) The SSH private key to use for provision activities
9898
* `file` - (Optional) Block specifying content to be written to the container host after creation
99-
* `commands` - (Optional, list(string)) List of commands to execute after creation of container host
10099
* `bastion_host` - (Optional) The bastion host to use. When not set, this will be deduced from the container host location
101100

102101
Each `file` block can contain the following fields. Use either `content` or `source`:
@@ -107,6 +106,9 @@ Each `file` block can contain the following fields. Use either `content` or `sou
107106
* `permissions` - (Optional, string) The file permissions. Default permissions are "0644"
108107
* `owner` - (Optional, string) The file owner. Default owner the SSH user
109108
* `group` - (Optional, string) The file group. Default group is the SSH user's group
109+
* `commands` - (Optional, list(string)) List of commands to execute after creation of container host
110+
111+
-> We recommend using a [hsdp_container_host_exec](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/resources/container_host_exec) resource to provision files and commands on your instance. This decouples software bootstrapping from the instance provisioning, which can take between 5-15 minutes on its own.
110112

111113

112114
## Attributes Reference

0 commit comments

Comments
 (0)