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 not used terraform variables about registration #309

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

mpagot
Copy link
Collaborator

@mpagot mpagot commented Jan 22, 2025

Remove variables that are not used in terraform. All of them are about configurations now managed by Ansible, like registration and SID.

Verification

Azure

AWS

GCP

Remove variables that are not used in terraform. All of them are about
configurations now managed by Ansible, like registration and SID.
Reintroduce sentence deleted by mistake.
@@ -168,7 +168,7 @@ Internally to the subnet, all traffic is allowed.

By default, this configuration creates 3 instances in AWS: one for support services (mainly iSCSI as most other services - DHCP, NTP, etc - are provided by Amazon) and 2 cluster nodes, but this can be changed to deploy more cluster nodes as needed.

Once the infrastructure is created by Terraform, the servers are provisioned with Ansible.
Once the infrastructure is created by Terraform, the servers can be provisioned with Ansible.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is not something under Terraform control. It is not Terraform running Ansible (as it was at the time Ansible was Salt). This is the same reason that allow to delete all the unused terraform variables.

@@ -152,24 +144,6 @@ module "drbd_node" {
nfs_export_name = var.netweaver_sid
}

module "iscsi_server" {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just change order to use more similar structure to Azure main.tf file

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

terraform/aws/terraform.tfvars.example Outdated Show resolved Hide resolved
Copy link
Collaborator

@BillAnastasiadis BillAnastasiadis left a comment

Choose a reason for hiding this comment

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

LGTM

@mpagot mpagot merged commit dfc8f86 into SUSE:main Jan 22, 2025
8 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.

3 participants