Hi i am trying to delete eks cluster using urn usi...
# general
t
Hi i am trying to delete eks cluster using urn using following command. however i am getting following error,
Copy code
pulumi destroy -t urn:pulumi:stk::project1::aws:eks/cluster:Cluster::eks-cluster
I am using same token to create eks cluster, Is there anything i am missing ?
Copy code
$ pulumi destroy -t urn:pulumi:stk::project1::aws:eks/cluster:Cluster::eks-cluster
Previewing destroy (stk):
     Type                 Name          Plan       
     pulumi:pulumi:Stack  project1-stk             
 -   └─ aws:eks:Cluster   eks-cluster   delete     
 
Resources:
    - 1 to delete

Do you want to perform this destroy? details
- aws:eks/cluster:Cluster: (delete)
    [id=eks-cluster-55e5e55]
    [urn=urn:pulumi:stk::project1::aws:eks/cluster:Cluster::eks-cluster]

Do you want to perform this destroy? yes
Destroying (stk):
     Type                 Name          Status                  Info
     pulumi:pulumi:Stack  project1-stk  **failed**              1 error
 -   └─ aws:eks:Cluster   eks-cluster   **deleting failed**     1 error
 
Diagnostics:
  pulumi:pulumi:Stack (project1-stk):
    error: update failed
 
  aws:eks:Cluster (eks-cluster):
    error: 1 error occurred:
        * error configuring Terraform AWS Provider: AWS account ID not previously found and failed retrieving via all available methods. See <https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id> for workaround and implications. Errors: 2 errors occurred:
        * error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
        status code: 403, request id: 40236ffc-d24a-4be8-9069-85ab000ea1c5
        * failed getting account information via iam:ListRoles: InvalidClientTokenId: The security token included in the request is invalid.
        status code: 403, request id: 690d530c-88d9-4999-81f8-962d87739874
 
Resources:

Duration: 5s