-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
ERROR:QESAPDEP:STDERR: Error: Invalid index
ERROR:QESAPDEP:STDERR:
ERROR:QESAPDEP:STDERR: on modules/hana_node/outputs.tf line 23, in output "hana_vip":
ERROR:QESAPDEP:STDERR: 23: value = split("/", aws_route.hana-cluster-vip.0.destination_cidr_block)[0]
ERROR:QESAPDEP:STDERR: ├────────────────
ERROR:QESAPDEP:STDERR: │ aws_route.hana-cluster-vip is empty tuple
It can be reproduced using config.yaml like
provider: aws
apiver: 1
terraform:
variables:
aws_region: "eu-west-1"
deployment_name: ####
os_image: "suse-sles-sap-15-sp4-byos"
os_owner: "amazon"
private_key: "####"
public_key: "####.pub"
aws_credentials: "~/.aws/credentials"
hana_ips: ["10.0.1.11", "10.0.2.12"]
hana_cluster_fencing_mechanism: "sbd"
hana_cluster_vip: "10.0.0.15"
ansible:
hana_urls:
- "#####"
- "#####"
- "#####"
create:
- registration.yaml -e reg_code=${REG_CODE} -e email_address=${EMAIL}
- pre-cluster.yaml
- sap-hana-preconfigure.yaml
- cluster_sbd_prep.yaml
- sap-hana-storage.yaml
- sap-hana-download-media.yaml
- sap-hana-install.yaml
- sap-hana-system-replication.yaml
- sap-hana-system-replication-hooks.yaml
- sap-hana-cluster.yaml
destroy:
- deregister.yaml
variables:
REG_CODE: "#####"
EMAIL: ""
SAPCONF: true
Also consider that false is the default value in
qe-sap-deployment/terraform/aws/variables.tf
Line 312 in 9b338bc
| default = false |
Metadata
Metadata
Assignees
Labels
No labels