Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14 resources consistently fail to destroy on AWS #228

Open
kevinayres opened this issue Nov 12, 2023 · 0 comments
Open

14 resources consistently fail to destroy on AWS #228

kevinayres opened this issue Nov 12, 2023 · 0 comments

Comments

@kevinayres
Copy link

When performing 'terraform destroy', I consistently have to run it 3x, while the first 2 time out. The 3rd time destroys 14 resources. See crumbs below:

Plan: 0 to add, 0 to change, 14 to destroy.

Changes to Outputs:

  • neuvector_url = "neuvector.54.191.128.185.sslip.io" -> null
  • node_ip = "54.191.128.185" -> null
  • rancher_url = "rancher.54.191.128.185.sslip.io" -> null
    local_file.kube_config_server_yaml: Destroying... [id=97b7746d562256aeb7e275818bcdce0f5f70a9e5]
    local_file.kube_config_server_yaml: Destruction complete after 0s
    ssh_resource.retrieve_config: Destroying... [id=669172084365869966]
    ssh_resource.retrieve_config: Destruction complete after 0s
    ssh_resource.install_rke2: Destroying... [id=9012956851557110502]
    ssh_resource.install_rke2: Destruction complete after 0s
    ssh_resource.rke2_config: Destroying... [id=1754188175931789977]
    ssh_resource.rke2_config: Destruction complete after 0s
    ssh_resource.rke2_config_dir: Destroying... [id=3544985455685780283]
    ssh_resource.rke2_config_dir: Destruction complete after 0s
    aws_instance.neuvector_server: Destroying... [id=i-0f98fc87a2b7ca190]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 10s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 20s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 30s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 40s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 50s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 1m0s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 1m10s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 1m20s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 1m30s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 1m40s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 1m50s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 2m0s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 2m10s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 2m20s elapsed]
    aws_instance.neuvector_server: Still destroying... [id=i-0f98fc87a2b7ca190, 2m30s elapsed]
    aws_instance.neuvector_server: Destruction complete after 2m32s
    aws_route_table_association.neuvector_route_table_association: Destroying... [id=rtbassoc-0412342b9256046ee]
    aws_key_pair.quickstart_key_pair: Destroying... [id=neuvector-quickstart-neuvector-20231109195117203700000001]
    aws_security_group.neuvector_sg_allowall: Destroying... [id=sg-0191e8c001e1409f3]
    aws_key_pair.quickstart_key_pair: Destruction complete after 0s
    aws_route_table_association.neuvector_route_table_association: Destruction complete after 0s
    aws_route_table.neuvector_route_table: Destroying... [id=rtb-0cafbb7326cc17205]
    aws_subnet.neuvector_subnet: Destroying... [id=subnet-058bf271d2cc6422c]
    tls_private_key.global_key: Destroying... [id=865699d5af2e51a677baf491fa87851024501338]
    tls_private_key.global_key: Destruction complete after 0s
    aws_security_group.neuvector_sg_allowall: Destruction complete after 1s
    aws_subnet.neuvector_subnet: Destruction complete after 1s
    aws_route_table.neuvector_route_table: Destruction complete after 1s
    aws_internet_gateway.neuvector_gateway: Destroying... [id=igw-08b63e32ff10cf67c]
    aws_internet_gateway.neuvector_gateway: Destruction complete after 0s
    aws_vpc.neuvector_vpc: Destroying... [id=vpc-02649d3cd2ce3aafb]
    aws_vpc.neuvector_vpc: Destruction complete after 1s

Destroy complete! Resources: 14 destroyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant