web-dev-qa-db-fra.com

Les environnements élastiques beanstalksk bloqués avec un message d'erreur suivant sur RDS

Je ne parviens pas à accéder à mes deux environnements dans la même application élastique beanstalk, le message d'erreur pour les deux est:

Un problème s'est produit lors du chargement de votre page: Exception de validation de la configuration: Spécification d'option non valide (Espace de noms: 'AWS: RDS: DBInstance', optionName: 'HASCOUPLEPEDDATABASE'): Réglage de la configuration inconnu.

Je ne sais pas comment aborder ce problème (ou même ce que cela signifie d'être honnête). Toute aide serait appréciée!

Edit:

Ce message semble avoir été causé par une mise à jour AWS. Il semble que le meilleur endroit pour signaler est d'écrire sur les forums AWS Dev.

J'avais commencé un fil à propos de ce problème, veuillez ajouter votre voix: https://forums.aws.amazon.com/thread.jspa?ThreadId=344213&tpart=

4
EnglishAdam
 1. Download and setup Aws CLI if not already done
 2. To download aws cli visit  (https://docs.aws.Amazon.com/cli/latest/userguide/install-cliv2-windows.html#cliv2-windows-install)
 3. To set up aws cli follow :
 4. Go to location where aws cli installed i.e. C:\Program Files\Amazon\AWSCLI>
 5. To confirm whether installed or not -> open cmd-> type aws --version
 6. if response is like (aws-cli/1.7.24 Python/2.7.9 Windows/8) then OK.
 7. In CMd itself to configure aws type -> aws configure 
 8. Enter following data as asked in steps by aws cli :

AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json

Note : here region and default output can be skipped by pressing enter and Access Key and secret key can be generated by following these steps in your aws account 

click bell icon in left side of region on top right corner -> My Security Credentials -> Access keys (access key ID and secret access key) -> create new or use existing.

 

 9. type aws s3 ls , on cmd and if it shows your s3 bucket then connection has been made succesfully.
10. Create a json file named aws_issue.json on desktop
11. paste below content in aws_issue.json and save
[
  {
    "Namespace": "aws:rds:dbinstance",
    "OptionName": "HasCoupledDatabase"
  }
]

12. type the following command in single line on cmd with your environment , its version , region , path to aws_issue.json


   aws elasticbeanstalk update-environment --environment-name 
   "**YOUR_ENVIRONMENT_NAME**" --version-label "**YOUR_VERSION_LABEL**" -- 
   region="**YOUR_REGION**" --options-to-remove 
   file://C:\Users\**pathAsPerYourMachine**\aws_issue.json
0
Laxmi Nath