aws / aws/aws-dotnet-deploy

can't make the clean up to succeed

Đang mở
#653 1 bình luận 0 reaction 1 người được giao Được @normj nhận Xem trên GitHub
bug p3 queued
Ngôn ngữ chính
C#
Star
158
Fork
32
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
4

Mô tả

### Describe the bug

when the 'Application IAM Role: *** Create new *** ' is selected for Beanstalk deployment, the delete-deployment is failing to delete the newly IAM role created.

### Expected Behavior

It should delete all resources the cli has created.

### Current Behavior

the delete deployment failing...

### Reproduction Steps

Used the new CLI,
1) => dotnet aws deploy --project-path . --application-name testthedelete
opted for the Beanstalk linux with rest default
2) => Deployment succeeded
3)=> dotnet aws delete-deployment testthedelete --silent

It can't delete the AWS::IAM::Role (the default IAM role) it's creating.

06/28/2022 05:13:14 | DELETE_IN_PROGRESS | AWS::IAM::Role | RecipeAppIAMRole9E73EEFA
06/28/2022 05:13:15 | DELETE_FAILED | AWS::IAM::Role | RecipeAppIAMRole9E73EEFA
06/28/2022 05:13:43 | DELETE_COMPLETE | AWS::ElasticBeanstalk::Application | RecipeBeanstalkApplication3558EA83
06/28/2022 05:13:44 | DELETE_FAILED | AWS::CloudFormation::Stack | testthedelete

Cannot delete entity, must detach all policies first. (Service: AmazonIdentityManagement; Status Code: 409; Error Code: DeleteConflict; Request ID: da4a8d50-7b6d-4c95-8c68-4bc4e7376d8c; Proxy: null)

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### Version used

latest

### Operating System and version

Windows 10

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.