control-tower
control-tower copied to clipboard
Unable to destroy failed install
I'm trying to remove a failed install using control-tower destroy --iaas aws concourse but it throws the following:
Error: aws_security_group.director: "ingress.0.cidr_blocks.0" must contain a valid CIDR, got error parsing: invalid CIDR address: /32
Error: aws_security_group.director: "ingress.1.cidr_blocks.0" must contain a valid CIDR, got error parsing: invalid CIDR address: /32
Error: aws_security_group.director: "ingress.2.cidr_blocks.0" must contain a valid CIDR, got error parsing: invalid CIDR address: /32
How do I remove these resources so I can attempt another install?
We also hit the issue and found, that source_access_ip was empty in config.json in config s3 bucket
"source_access_ip": "",
We manually set an ip in the config.json and uploaded it to S3 and then destroy works.
I had the same problem. The same workaround worked for me, thanks!
IP address of what??
I put in a zero IP address, which was sufficient to allow deletion to proceed