Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [0.9.0] - 2026-04-23

### Added

- Add the ability to pass a custom instance type for the builder instance.

### Fixed

- Update [easyto-init](https://github.com/cloudboss/easyto-init) to `v0.5.1` to fix a regression where a relative `command` was not found in `PATH`.

## [0.8.0] - 2026-04-19

### Added
Expand Down Expand Up @@ -109,6 +119,7 @@

Initial release

[0.9.0]: https://github.com/cloudboss/easyto/releases/tag/v0.9.0
[0.8.0]: https://github.com/cloudboss/easyto/releases/tag/v0.8.0
[0.7.0]: https://github.com/cloudboss/easyto/releases/tag/v0.7.0
[0.6.0]: https://github.com/cloudboss/easyto/releases/tag/v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ EASYTO_ASSETS_RUNTIME = easyto-assets-runtime-$(EASYTO_ASSETS_VERSION)
EASYTO_ASSETS_RUNTIME_ARCHIVE = $(EASYTO_ASSETS_RUNTIME).tar.gz
EASYTO_ASSETS_RUNTIME_URL = $(EASYTO_ASSETS_RELEASES)/$(EASYTO_ASSETS_VERSION)/$(EASYTO_ASSETS_RUNTIME_ARCHIVE)
EASYTO_INIT_RELEASES = https://github.com/cloudboss/easyto-init/releases/download
EASYTO_INIT_VERSION = v0.5.0
EASYTO_INIT_VERSION = v0.5.1
EASYTO_INIT = easyto-init-$(EASYTO_INIT_VERSION)
EASYTO_INIT_ARCHIVE = easyto-init-$(EASYTO_INIT_VERSION).tar.gz
EASYTO_INIT_URL = $(EASYTO_INIT_RELEASES)/$(EASYTO_INIT_VERSION)/$(EASYTO_INIT_ARCHIVE)
Expand Down
5 changes: 5 additions & 0 deletions cmd/easyto/tree/ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ var (
packerArgs := []string{
"build",
"-var", fmt.Sprintf("ami_name=%s", amiCfg.amiName),
"-var", fmt.Sprintf("builder_instance_type=%s", amiCfg.builderInstanceType),
"-var", fmt.Sprintf("container_image=%s", amiCfg.containerImage),
"-var", fmt.Sprintf("debug=%t", amiCfg.debug),
"-var", fmt.Sprintf("is_public=%t", amiCfg.public),
Expand Down Expand Up @@ -151,6 +152,7 @@ type amiConfig struct {
builderImage string
builderImageLoginUser string
builderImageMode string
builderInstanceType string
containerImage string
debug bool
loginUser string
Expand Down Expand Up @@ -202,6 +204,9 @@ func init() {
AMICmd.Flags().StringVar(&amiCfg.builderImageMode, "builder-image-mode", "",
"Build mode to use with --builder-image. Must be 'fast' or 'slow'. Fast mode assumes easyto is pre-installed on the builder image.")

AMICmd.Flags().StringVar(&amiCfg.builderInstanceType, "builder-instance-type", "t3.micro",
"EC2 instance type to use for builder instance.")

AMICmd.Flags().StringVarP(&amiCfg.packerDir, "packer-directory", "P", packerDir,
"Path to a directory containing packer and its configuration.")

Expand Down
Loading