Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Issue with keypair deletion #110

@baznikin

Description

@baznikin
Do you really want to destroy all resources?
  Terraform will destroy all your managed infrastructure, as shown above.
  There is no undo. Only 'yes' will be accepted to confirm.

  Enter a value: yes

gcore_keypair.kp: Destroying... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0]
gcore_keypair.kp: Still destroying... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0, 10s elapsed]
gcore_keypair.kp: Still destroying... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0, 20s elapsed]
gcore_keypair.kp: Still destroying... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0, 30s elapsed]
gcore_keypair.kp: Still destroying... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0, 40s elapsed]
gcore_keypair.kp: Still destroying... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0, 50s elapsed]
╷
│ Error: The keypair ae2d09a4-38ea-41d6-94b2-62481bbd84a0 does not exist
│ 
│ 
╵

> terraform destroy
gcore_keypair.kp: Refreshing state... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0]
╷
│ Error: cannot get keypairs with ID ae2d09a4-38ea-41d6-94b2-62481bbd84a0. Error: The keypair ae2d09a4-38ea-41d6-94b2-62481bbd84a0 does not exist
│ 
│   with gcore_keypair.kp,
│   on main.tf line 22, in resource "gcore_keypair" "kp":
│   22: resource "gcore_keypair" "kp" {
│ 
╵

> terraform apply
gcore_keypair.kp: Refreshing state... [id=ae2d09a4-38ea-41d6-94b2-62481bbd84a0]
╷
│ Error: cannot get keypairs with ID ae2d09a4-38ea-41d6-94b2-62481bbd84a0. Error: The keypair ae2d09a4-38ea-41d6-94b2-62481bbd84a0 does not exist
│ 
│   with gcore_keypair.kp,
│   on main.tf line 22, in resource "gcore_keypair" "kp":
│   22: resource "gcore_keypair" "kp" {

Metadata

Metadata

Assignees

No one assigned

    Labels

    CloudIssues related to Gcore Cloud

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions