Problem/Motivation

  • When deleting a Launch Template, it is not deleted from AWS. This happens when a user uses the Delete form and Multi-select Delete form to delete an AWS Cloud Launch Template
  • Pay attention in making this change so that when a Cloud Service Provider is deleted, the Launch templates on AWS are not deleted.

Issue fork cloud-3202402

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yas created an issue. See original summary.

yas’s picture

Status: Active » Needs review
FileSize
2.65 KB
baldwinlouie’s picture

Status: Needs review » Needs work
yas’s picture

Status: Needs work » Needs review
FileSize
7.85 KB

@baldwinlouie

Thank you for your review. I like your suggested approach, so I re-created the patch based on your patch at #3201071.

The DrupalCI test should fail but could you please review it?

* Note that I refactored your code.

yas’s picture

Fixing the coding standard violations.

baldwinlouie’s picture

@yas, Thank you for updating the patch. The code change looks good to me. Since the patch fails because of dependencies from #3201071, how are we going to commit changes?

yas’s picture

@baldwinlouie

Thank you for your review. Can I include the event subscribers portion on your patch since this patch fixes a bug? If it is ok, I'll re-create the patch on this issue.

yas’s picture

FileSize
12.16 KB

@baldwinlouie

Refactored to merge the Event Subscribers portion of your patch at #3201071. Could you please review it?

yas’s picture

FileSize
12.13 KB

Fixed the coding standard violations and a bug.

baldwinlouie’s picture

Status: Needs review » Reviewed & tested by the community

@yas, thank you for providing the patch. It looks good to me.

yas’s picture

@baldwinlouie

Thank you for your review. I'll merge the patch to 3.x and close this issue as Fixed.

  • yas committed b0b39d3 on 3.x
    Issue #3202402 by yas, baldwinlouie: Delete AWS Launch Templates when...

yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.