Unable to delete AppConfig

0

Hello, I created an AppConfig in Systems Manager (just as a test to learn about it). However, I'm unable to delete it. I get:

An error occurred (BadRequestException) when calling the DeleteApplication operation: Cannot delete application arn:aws:appconfig:us-east-1:xxxxxxxxxxxx:application/xxxxxxx because there are extensions associated with it. Please remove the extension associations to this application first.

The CLI documentation shows a list-extension-associations command, but when I try to run the command I get:

aws: error: argument operation: Invalid choice, valid choices are:

create-application                       | create-configuration-profile            
create-deployment-strategy               | create-environment                      
create-hosted-configuration-version      | delete-application                      
delete-configuration-profile             | delete-deployment-strategy              
delete-environment                       | delete-hosted-configuration-version     
get-application                          | get-configuration                       
get-configuration-profile                | get-deployment                          
get-deployment-strategy                  | get-environment                         
get-hosted-configuration-version         | list-applications                       
list-configuration-profiles              | list-deployment-strategies              
list-deployments                         | list-environments                       
list-hosted-configuration-versions       | list-tags-for-resource                  
start-deployment                         | stop-deployment                         
tag-resource                             | untag-resource                          
update-application                       | update-configuration-profile            
update-deployment-strategy               | update-environment                      
validate-configuration                   | help```

Has anyone here run into this?
질문됨 일 년 전126회 조회
1개 답변
0

The error seems like the version of AWS CLI used does not support the "ListExtensionAssociations" API from AppConfig.

The AppConfig Extensions and ExtensionAssociations related API were introduced in AWS CLI v1.25.29. Please refer below AWS CLI github changelog:

(-) https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst

I would suggest updating the AWS CLI version on the machine and trying the command again or use CloudShell from AWS console.

(-) Update AWS CLI - https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

AWS
지원 엔지니어
Aamir_H
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠