systeminit/si

[COM-32] [COM-33] Ensure that EC2 Refresh funcs catch NotFound exceptions

Closed this issue · 1 comments

What happened?

When I was editing a delete function, I clicked on the "execute" button and it deleted the resource in AWS - this is expected

BUT I was then in a state where SI was saying I had a resource when I didn't. The Refresh function should have been able to see the NotFound from AWS and remove the resource

How can we reproduce this?

Create a component and push that to the real world.

Edit the delete function and click execute

See a resource still existing

Operating system

macOS

Architecture

aarch64 / arm64

What browsers are you seeing the problem on?

Chrome

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

The following builtins are taken are of:

  • EBS Volume
  • Route
  • Route Table
  • AMI
  • NAT Gateway
  • EIP
  • VPC
  • VPC Endpoint
  • Subnet
  • KeyPair
  • Internet Gateway
  • Egress
  • Ingress
  • Security Group
  • Instance
  • IAM Policy
  • IAM Group
  • IAM Role
  • IAM Instance Profile
  • ECS Cluster
  • ECS Service
  • ECS Task Definition
  • Log Group
  • ACM Certificate
  • RDS Subnet Group
  • RDS Instance
  • Listener
  • Target Group
  • LoadBalancer
  • Region

From SyncLinear.com | COM-32

All funcs are now taken care of!