Closed ouelletandrebni closed 6 years ago
Also, here is the contents of my cfnconfig.yml file with values changed to generic.
Version: 2
Stages:
Default:
Stack:
TemplateBody: ../../dist/cfnstack-packaged.yml
Capabilities: [CAPABILITY_IAM, CAPABILITY_NAMED_IAM]
Region: us-east-1
StackName: mystackname
Parameters:
DomainNamePublic: mydomain.com
DomainNamePrivate: mydomain.int
BusinessUnit: mybusinessunit
Project: myproject
ProjectFullName: MyProjectFullName
ProjectKey: myprojectkey
Component: mycomponent
ComponentSuffix: component
AWSAccountName: myawsaccount
EnvInfra: myenvname
EnvType: sbx
Tags:
BusinessUnit: mybusinessunit
Project: myproject
Component: mycomponent
Environment: myenvname
Creator: me@here.com
Hi, @ouelletandrebni Sorry for bring the trouble. This is a bug in the packaging code. We have fixed #36 and deployed a new version 2.0.1. Please update to the latest version to see if it fix you issues. Thanks.
Hi,
It's working great now.
I ran the following pip upgrade command, and this got me to version 2.0.1
#$ *pip install --upgrade --user awscfncli2*
...
Successfully installed awscfncli2-2.0.1
I can also confirm that the missing files are now in place
#$ ls -la
/home/user/.local/lib/python3.5/site-packages/awscfncli2/config/ total 92 drwxrwxr-x 3 user user 4096 Aug 16 15:34 . drwxrwxr-x 5 user user 4096 Aug 16 15:34 .. -rw-rw-r-- 1 user user 10328 Aug 16 15:34 config.py -rw-rw-r-- 1 user user 68 Aug 16 15:34 exceptions.py -rw-rw-r-- 1 user user 118 Aug 16 15:34 init.py drwxrwxr-x 2 user user 4096 Aug 16 15:34 pycache -rw-rw-r-- 1 user user 577 Aug 16 15:34 schema.py
Thanks for the quick turn around on fixing this :) Andre
On Thu, Aug 16, 2018 at 3:11 PM, Ray notifications@github.com wrote:
Hi, @ouelletandrebni https://github.com/ouelletandrebni Sorry for bring the trouble. This is a bug in the packaging code. We have fixed #36 https://github.com/Kotaimen/awscfncli/issues/36 and deployed a new version 2.0.1. Please update to the latest version to see if it fix you issues. Thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Kotaimen/awscfncli/issues/35#issuecomment-413636214, or mute the thread https://github.com/notifications/unsubscribe-auth/AYwZXNSR1WJqaBzpPxKRQDqSrpzaQssxks5uRbXLgaJpZM4V-pJy .
Hi,
Steps to re-create the issue:
pip install --upgrade --user awscfncli2
cfn-cli --profile myawsprofile -f ./cfnconfig.yml stack deploy
Upon further investigation, the files
awscfncli2/config/schema_v1.json
andawscfncli2/config/schema_v2.json
are in the master branch in github for this project, but they are missing in in pypi (at least they are missing when I download the 2.0.0.tar.gz from here and check inside)I've attached the full traceback in the traceback.txt file. traceback.txt