Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove machine type default from AWS #261

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

mpagot
Copy link
Collaborator

@mpagot mpagot commented Aug 28, 2024

Terraform AWS code variables has default about machine type in two place:

  • HIGH: in the main variables.tf
  • LOW: in each module variable.tf It is problematic to maintain these two level of defaults with the same values.
    Removing defaults from the HIGH level result in all machine types variables to become mandatory in the terraform.tfvars and so in the conf.yaml.

This commit remove defaults from LOW level. Doing so does not change user experience as HIGH levels will always provide value to LOW level from user tfvars file or default.
This commit also ensure that each description field is at the first place if available.

Ticket https://jira.suse.com/browse/TEAM-7678

Verification

Terrafor AWS code variables has default about machine type in two place:
- HIGH: in the main variables.tf
- LOW: in each module variable.tf
It is problematic to maintain these two level of defaults with the same
values.
Removing defaults from the HIGH level result in all machine types
variables to become mandatory in the terraform.tfvars and so in the
conf.yaml.
Thic commit remove defaults from LOW level. Doing so does not change
user experience as HIGH levels will always provide value to them from
user tfvars file ir default.
This commit also ensure that each description field is at the first
place if available.
Copy link
Collaborator

@lpalovsky lpalovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@lilyeyes lilyeyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Collaborator

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alvarocarvajald alvarocarvajald merged commit 5baf068 into SUSE:main Aug 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants