Commit Graph

39 Commits

Author SHA1 Message Date
Matt Trachier 03ebc189ce
feat: update image selection (#111)
Signed-off-by: matttrach <matt.trachier@suse.com>
(cherry picked from commit 862ffc82d5c3965332b40b69bed5dc42eb85a799)
2025-03-07 10:50:03 -06:00
Matt Trachier 82a3887852
fix: update to comply with new restrictions (#109)
* fix: update to comply with new restrictions
* fix: setup testing packages properly
* fix: resolve shell check errors
* fix: add spelling and security packages
* fix: update image sources
* fix: shell check get image script
---------

Signed-off-by: matttrach <matt.trachier@suse.com>
2025-03-06 14:06:46 -06:00
Matt Trachier 6bdb720642
fix: remove version constraints (#108)
Signed-off-by: matttrach <matt.trachier@suse.com>
2025-03-03 17:44:48 -06:00
Matt Trachier b02cdf7f75
fix: add primary version 6 flag (#99)
* fix: add primary version 6 flag

Signed-off-by: matttrach <matt.trachier@suse.com>

* fix: test dual stack

Signed-off-by: matttrach <matt.trachier@suse.com>

---------

Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-25 17:37:34 -05:00
Matt Trachier 572fcbb8e6
fix: remove old interface references (#98)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-25 01:31:08 -05:00
Matt Trachier cd85d69606
fix: private address is not plural (#97)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-25 00:38:04 -05:00
Matt Trachier 9802b3d1ba
fix: use server built in interface (#95)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-25 00:15:44 -05:00
Matt Trachier 89791d4cfa
fix: version 4 address should be empty (#93)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-24 22:06:51 -05:00
Matt Trachier 92d6746cd3
fix: more version 6 fixes (#91)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-23 16:06:55 -05:00
Matt Trachier 3c4f97af0d
fix: add address family and respond appropriately (#87)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-09 15:21:13 -05:00
Matt Trachier ff29bdce6b
fix: do not force address select (#85)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-03 23:37:38 -05:00
Matt Trachier dd15b26b70
feat: upgrade to new access module (#83)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-07-01 13:41:51 -05:00
Matt Trachier f4d21679e6
fix: resolve failing user setup (#81)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-06-05 18:46:42 -05:00
Matt Trachier 3b5ae2be5a
fix: normalize and validate out put (#69)
Signed-off-by: matttrach <matt.trachier@suse.com>
2024-05-21 13:47:03 -05:00
Matt Trachier 5b24ad5038
refactor!: adjust for new abilities (#62)
* refactor!: adjust for new access module
* fix: direct access enabled
* fix: operating system tests pass
* fix: all tests pass
* fix: format

WARNING! This is a breaking change!
This will result in a new major version of the module.
The new version re-organizes inputs and groups some key values to make things easier to understand.
We also add load balancing options so that you can attach servers to load balancers automatically.
We surface the cloud-init closer to the end user.
We make inputs which control certain feature sets more explicitly so that it is easier to control exactly what is created.
We add Liberty7 and SLE Micro to the image list
We add more image find validation, making sure that every image is tested in all US regions
---------

Signed-off-by: matttrach <matt.trachier@suse.com>
2024-05-03 11:31:30 -05:00
Matt Trachier fd6ed078e1
fix: this trigger is undertermined at plan time (#61)
Signed-off-by: Matt Trachier <matt.trachier@suse.com>
2024-03-14 16:27:51 -05:00
Matt Trachier 759efac5de
fix: ignore subnet id changes and specify when server gets recreated (#59)
Signed-off-by: Matt Trachier <matt.trachier@suse.com>
2024-03-14 14:57:33 -05:00
Matt Trachier 6d2cac777b
fix: make sure default ip is always available, send owners from aws to image outputs, validate image names (#57)
Signed-off-by: Matt Trachier <matt.trachier@suse.com>
2024-03-13 16:31:24 -05:00
Matt Trachier 5e9fc78a69
fix: eip needs to be created to pass it (#56)
Signed-off-by: Matt Trachier <matt.trachier@suse.com>
2024-03-12 00:52:03 -05:00
Matt Trachier 29b186cc47
feat: added more official cloud init support, added cloud init debugging logs, added a default private ip selection, updated dev functions (#54)
Signed-off-by: Matt Trachier <matt.trachier@suse.com>
2024-03-12 00:33:23 -05:00
Matt Trachier 7bcdeebe8b
fix: update all tests to stop using the default vpc and subnet (#50)
* fix: update all tests to stop using the default vpc and subnet, update docs, adjust tests for public ip not being the default

Signed-off-by: Matt Trachier <matttrach@gmail.com>

* fix: revert to using the key to reduce cognitive load for users

Signed-off-by: Matt Trachier <matt.trachier@suse.com>

* fix: add personal functions to rcs

Signed-off-by: Matt Trachier <matt.trachier@suse.com>

---------

Signed-off-by: Matt Trachier <matttrach@gmail.com>
Signed-off-by: Matt Trachier <matt.trachier@suse.com>
2024-03-08 12:37:18 -06:00
Matt Trachier 3ca9ba05d1
feat: add eip and handle cloud-init scripts better (#48)
Signed-off-by: matttrach <matttrach@gmail.com>
2024-02-12 10:33:00 -06:00
Matt Trachier 16b806ee6c
feat: add ability to disable ssh and specify private ip (#41)
Signed-off-by: matttrach <matttrach@gmail.com>
2024-02-06 20:28:19 -06:00
Matt Trachier 6e8ad9540a
fix: attach security group as a separate resource than the server (#37)
* fix: attach security group as a separate resource than the server

Signed-off-by: matttrach <matttrach@gmail.com>

* fix: upgrade access mod in examples and add id tag

Signed-off-by: matttrach <matttrach@gmail.com>

* feat: add force security group association and disable scripts mode

Signed-off-by: matttrach <matttrach@gmail.com>

---------

Signed-off-by: matttrach <matttrach@gmail.com>
2024-01-29 11:51:45 -06:00
Matt Trachier 89f0ff09d9
fix: add cloud-init timeout, update dev env, update workflows (#28)
Signed-off-by: matttrach <matttrach@gmail.com>
2023-12-04 16:49:19 -06:00
matttrach 80602294ec
fix: make sure the default value is home, replace ~ with home
Signed-off-by: matttrach <matttrach@gmail.com>
2023-10-26 22:07:53 -05:00
matttrach f97eee5bc1
feat: add ability to inject script into cloud-init
Signed-off-by: matttrach <matttrach@gmail.com>
2023-10-26 20:03:31 -05:00
matttrach 16197a0f7a
add rhel8 cis, add the ability to set the path to execute files, update all the tests
Signed-off-by: matttrach <matttrach@gmail.com>
2023-10-05 16:27:07 -05:00
Matt Trachier 30132a41ed
Merge pull request #17 from matttrach/az-in-sub
remove az option, it is tied to subnet
2023-09-28 00:32:36 -05:00
matttrach 8ebba24ba4
increase the wait time and attempts for cloud init
Signed-off-by: matttrach <matttrach@gmail.com>
2023-09-27 18:20:20 -05:00
matttrach 291ce676bb
remove az option, it is tied to subnet
Signed-off-by: matttrach <matttrach@gmail.com>
2023-09-26 17:18:40 -05:00
matttrach fdcd61384f
add the ability to set the avalability zone for the server
Signed-off-by: matttrach <matttrach@gmail.com>
2023-09-20 13:38:48 -05:00
matttrach a7117c66eb
extract shell scripts to enable shellcheck
Signed-off-by: matttrach <matttrach@gmail.com>
2023-09-15 12:33:52 -05:00
matttrach 6894f4ba4a
move examples from using security-group name to expecting the name to be the same as specified, output user data properly
Signed-off-by: matttrach <matttrach@gmail.com>
2023-08-25 12:52:45 -05:00
matttrach 68205a0ba2
try cloud-init and hostnamectl to set hostname
Signed-off-by: matttrach <matttrach@gmail.com>
2023-08-18 18:32:15 -05:00
matttrach 1d34907be0
add server object to outputs
Signed-off-by: matttrach <matttrach@gmail.com>
2023-08-17 10:27:42 -05:00
matttrach 16d50dd5ce
use tag name instead of name attribute when finding sec group
Signed-off-by: matttrach <matttrach@gmail.com>
2023-08-16 13:23:55 -05:00
matttrach 8844e8bde2
add workflows, add versions.tf, rename some override tests, update docs, generate ssh keys in tests
Signed-off-by: matttrach <matttrach@gmail.com>
2023-08-10 23:34:51 -05:00
matttrach 11adefc2a0 initial
Signed-off-by: matttrach <matttrach@gmail.com>
2023-07-10 11:01:37 -05:00