EngineerBetter / control-tower

Deploy and operate Concourse CI in a single command
https://www.engineerbetter.com
Apache License 2.0
121 stars 39 forks source link

Unable to destroy failed install #34

Open mikebell opened 5 years ago

mikebell commented 5 years ago

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?

stevie- commented 5 years ago

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.

RichardBradley commented 5 years ago

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

msawant060 commented 5 years ago

IP address of what??

RichardBradley commented 5 years ago

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