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?
demandé il y a un an143 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Aamir_H
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions