f5devcentral / terraform-xc-aws-ce

Terraform to create F5XC AWS cloud CE
Apache License 2.0
4 stars 4 forks source link

Errors when applying example three_node_cluster_appstack_new_vpc_new_subnet #8

Closed mjmenger closed 2 months ago

mjmenger commented 2 months ago

When applying the three_node_cluster_appstack_new_vpc_new_subnet example, I receive the following errors, preventing the successful completion of the terraform apply.

Error: collecting instance settings: empty result
│ 
│   with module.f5xc_aws_cloud_ce_three_node_appstack_single_nic_new_vpc_new_subnet.module.node_master["master0"].aws_instance.instance,
│   on ../../modules/f5xc/ce/appstack/aws/nodes/master/main.tf line 1, in resource "aws_instance" "instance":
│    1: resource "aws_instance" "instance" {
│ 
╵
╷
│ Error: collecting instance settings: empty result
│ 
│   with module.f5xc_aws_cloud_ce_three_node_appstack_single_nic_new_vpc_new_subnet.module.node_master["master1"].aws_instance.instance,
│   on ../../modules/f5xc/ce/appstack/aws/nodes/master/main.tf line 1, in resource "aws_instance" "instance":
│    1: resource "aws_instance" "instance" {
│ 
╵
╷
│ Error: collecting instance settings: empty result
│ 
│   with module.f5xc_aws_cloud_ce_three_node_appstack_single_nic_new_vpc_new_subnet.module.node_master["master2"].aws_instance.instance,
│   on ../../modules/f5xc/ce/appstack/aws/nodes/master/main.tf line 1, in resource "aws_instance" "instance":
│    1: resource "aws_instance" "instance" {

input values with some fields redacted

owner = "m.menger@f5.com"
project_prefix = "tenantname"
project_suffix = "78"
ssh_public_key_file = "/somepathto/.ssh/id_rsa.pub"
f5xc_tenant = "tenantname-abcdefghi"
f5xc_api_url = "https://tenantname.console.ves.volterra.io/api"
f5xc_cluster_name = "aws-ce-test"
f5xc_api_p12_file = "/somepathto/tenantname.console.ves.volterra.io.api-creds.p12"
f5xc_api_p12_cert_password = "abcdefghi"
f5xc_api_token = "abcdefghijklmno=="
aws_region = "us-west-2"
aws_vpc_cidr_block = ""192.168.0.0/22""
aws_vpc_slo_subnet_node0 = ""192.168.0.0/26""
aws_vpc_slo_subnet_node1 = ""192.168.0.64/26""
aws_vpc_slo_subnet_node2 = ""192.168.0.128/26""
aws_vpc_slo_subnet_worker0 = ""192.168.1.0/26""
aws_vpc_slo_subnet_worker1 = ""192.168.1.64/26""
aws_vpc_slo_subnet_worker2 = ""192.168.1.128/26""
aws_availability_zone_node0 = ""a""
aws_availability_zone_node1 = ""b""
aws_availability_zone_node2 = ""c""
aws_availability_zone_worker0 = ""a""
aws_availability_zone_worker1 = ""b""
aws_availability_zone_worker2 = ""c""

environment variables set with some values redacted

VOLT_API_URL=https://tenantname.console.ves.volterra.io/api
VOLT_API_TIMEOUT=60s
VOLT_API_P12_FILE=/somepathto/tenantname.console.ves.volterra.io.api-creds.p12
VES_P12_PASSWORD=abcdefghi
VOLTERRA_TOKEN=abcdefghijklmno==
AWS_PROFILE=abcdefghi
AWS_ACCESS_KEY_ID=abcdefght
AWS_SECRET_ACCESS_KEY=abcdefghi
AWS_SESSION_TOKEN=abcdef...xyz
cklewar commented 2 months ago

@mjmenger fix has been pushed. Running TF apply and waiting for test results

cklewar commented 2 months ago

@mjmenger TF apply was successful. Please pull latest.