Open ishallbethat opened 7 years ago
I successfully setup it specifying region us-east -1 but turned out it's building dynamodb,etc in other region, ap-southeast-1, different region.
PS D:\code-repository\AWS-CMS-LAMBDA> python setup.py my-cms us-east-1 Creating the rest api Rest api created Creating iam role: my-cms-aws-cms-Lambda Role created Waiting for role to be usable Creating lambda function Function created Adding POST method to rest api POST method added Adding OPTIONS method to rest api OPTIONS method addded Deploying api Api deployed Creating bucket: my-cms-aws-cms Bucket created Populating bucket Uploading: index.html Complete Uploading: robots.txt Complete Uploading: site.js Complete Uploading: Content/post_list.json Complete Uploading: Content/site_settings.json Complete Uploading: Content/Page/5.json Complete Uploading: Content/Page/8.json Complete Uploading: Content/Post/8.json Complete Uploading: CSS/admin.css Complete Uploading: CSS/bootstrap-theme.min.css Complete Uploading: CSS/getBlogs.css Complete Uploading: CSS/login.css Complete Uploading: CSS/main.css Complete Uploading: CSS/sb-admin-2.min.css Complete Uploading: HTML/blog-form.html Complete Uploading: HTML/cms_login_form.html Complete Uploading: HTML/dashboard-sample.html Complete Uploading: HTML/error.html Complete Uploading: HTML/index.html Complete Uploading: HTML/login.html Complete Uploading: HTML/navbar.html Complete Uploading: HTML/page-form.html Complete Uploading: HTML/pages.html Complete Uploading: HTML/posts.html Complete Uploading: HTML/role-form.html Complete Uploading: HTML/roles.html Complete Uploading: HTML/site-settings.html Complete Uploading: HTML/upload-image.html Complete Uploading: HTML/user-registration-form.html Complete Uploading: HTML/users.html Complete Uploading: HTML/visitor-navigation.html Complete Uploading: Images/login-background.jpeg Complete Uploading: JavaScript/api.js Complete Uploading: JavaScript/forms.js Complete Uploading: JavaScript/index.js Complete Uploading: JavaScript/login.js Complete Uploading: JavaScript/sb-admin-2.min.js Complete Uploading: JavaScript/spinner.min.js Complete Uploading: JavaScript/ui-tinymce-min.js Complete Uploading: Templates/404.html Complete Uploading: Templates/list.html Complete Uploading: Templates/page.html Complete Uploading: Templates/post.html Complete Bucket populated Creating table: my-cms-aws-cms-Blog Blog table created Creating table: my-cms-aws-cms-Page Page table created Creating table: my-cms-aws-cms-Token Token table created Creating table: my-cms-aws-cms-Role Role table created Creating admin role db entry Admin role db entry created Creating table: my-cms-aws-cms-User User table created Creating admin db entry Admin db entry created Username: email@gmail.com Password: password123 Login at: https://s3.amazonaws.com/my-cms-aws-cms/HTML/login.html PS D:\code-repository\AWS-CMS-LAMBDA>
Doesn't seem to be anything wrong here, are you sure? I suggest trying without giving a region itll default to us-east-1
I successfully setup it specifying region us-east -1 but turned out it's building dynamodb,etc in other region, ap-southeast-1, different region.
PS D:\code-repository\AWS-CMS-LAMBDA> python setup.py my-cms us-east-1 Creating the rest api Rest api created Creating iam role: my-cms-aws-cms-Lambda Role created Waiting for role to be usable Creating lambda function Function created Adding POST method to rest api POST method added Adding OPTIONS method to rest api OPTIONS method addded Deploying api Api deployed Creating bucket: my-cms-aws-cms Bucket created Populating bucket Uploading: index.html Complete Uploading: robots.txt Complete Uploading: site.js Complete Uploading: Content/post_list.json Complete Uploading: Content/site_settings.json Complete Uploading: Content/Page/5.json Complete Uploading: Content/Page/8.json Complete Uploading: Content/Post/8.json Complete Uploading: CSS/admin.css Complete Uploading: CSS/bootstrap-theme.min.css Complete Uploading: CSS/getBlogs.css Complete Uploading: CSS/login.css Complete Uploading: CSS/main.css Complete Uploading: CSS/sb-admin-2.min.css Complete Uploading: HTML/blog-form.html Complete Uploading: HTML/cms_login_form.html Complete Uploading: HTML/dashboard-sample.html Complete Uploading: HTML/error.html Complete Uploading: HTML/index.html Complete Uploading: HTML/login.html Complete Uploading: HTML/navbar.html Complete Uploading: HTML/page-form.html Complete Uploading: HTML/pages.html Complete Uploading: HTML/posts.html Complete Uploading: HTML/role-form.html Complete Uploading: HTML/roles.html Complete Uploading: HTML/site-settings.html Complete Uploading: HTML/upload-image.html Complete Uploading: HTML/user-registration-form.html Complete Uploading: HTML/users.html Complete Uploading: HTML/visitor-navigation.html Complete Uploading: Images/login-background.jpeg Complete Uploading: JavaScript/api.js Complete Uploading: JavaScript/forms.js Complete Uploading: JavaScript/index.js Complete Uploading: JavaScript/login.js Complete Uploading: JavaScript/sb-admin-2.min.js Complete Uploading: JavaScript/spinner.min.js Complete Uploading: JavaScript/ui-tinymce-min.js Complete Uploading: Templates/404.html Complete Uploading: Templates/list.html Complete Uploading: Templates/page.html Complete Uploading: Templates/post.html Complete Bucket populated Creating table: my-cms-aws-cms-Blog Blog table created Creating table: my-cms-aws-cms-Page Page table created Creating table: my-cms-aws-cms-Token Token table created Creating table: my-cms-aws-cms-Role Role table created Creating admin role db entry Admin role db entry created Creating table: my-cms-aws-cms-User User table created Creating admin db entry Admin db entry created Username: email@gmail.com Password: password123 Login at: https://s3.amazonaws.com/my-cms-aws-cms/HTML/login.html PS D:\code-repository\AWS-CMS-LAMBDA>