control-tower icon indicating copy to clipboard operation
control-tower copied to clipboard

Unable to destroy failed install

Open mikebell opened this issue 6 years ago • 4 comments

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?

mikebell avatar Jul 16 '19 16:07 mikebell

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.

stevie- avatar Aug 14 '19 07:08 stevie-

I had the same problem. The same workaround worked for me, thanks!

RichardBradley avatar Aug 28 '19 11:08 RichardBradley

IP address of what??

msawant060 avatar Oct 11 '19 13:10 msawant060

I put in a zero IP address, which was sufficient to allow deletion to proceed

RichardBradley avatar Oct 11 '19 13:10 RichardBradley