SUSE / ha-sap-terraform-deployments

Automated SAP/HA Deployments in Public/Private Clouds
GNU General Public License v3.0
120 stars 88 forks source link

iscsi terraform output is not the same for all providers #876

Closed mpagot closed 2 years ago

mpagot commented 2 years ago

Used cloud platform Azure

Used SLES4SAP version Not relevant

Used client machine OS Linux (openSUSE TW)

Expected behaviour vs observed behaviour Problem is in iscsi_srv_ip

Observed:

terraform -chdir=terraform/azure output -json|grep iscsi|grep srv
  "iscsi_srv_ip": {
  "iscsisrv_name": {
  "iscsisrv_public_ip": {
  "iscsisrv_public_name": {

Expected:

terraform -chdir=terraform/azure output -json|grep iscsi|grep srv
  "iscsisrv_ip": {
  "iscsisrv_name": {
  "iscsisrv_public_ip": {
  "iscsisrv_public_name": {

How to reproduce

  1. Run the next terraform commands for Azure :
    terraform init
    terraform plan
    terraform apply -auto-approve
    terraform output -json|grep iscsi|grep srv

Used terraform.tfvars Not relevant

Logs Not available

yeoldegrove commented 2 years ago

It would be a good idea to revisit all the terraform outputs. I also found some of them confusing. e.g. cluster_nodes makes no sense anymore as multiple clusters are deployed.

yeoldegrove commented 2 years ago

@melzer-b1 Please come up with some ideas what to change.

yeoldegrove commented 2 years ago

All outputs have been completely reworked in #893