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?
質問済み 1年前138ビュー
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
回答済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ